Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#43680 - [postgresql-old-upgrade] postgis with postgresq 9.4
Attached to Project:
Arch Linux
Opened by abaya (yakoub) - Monday, 02 February 2015, 20:45 GMT
Last edited by Levente Polyak (anthraxx) - Tuesday, 15 May 2018, 20:53 GMT
Opened by abaya (yakoub) - Monday, 02 February 2015, 20:45 GMT
Last edited by Levente Polyak (anthraxx) - Tuesday, 15 May 2018, 20:53 GMT
|
DetailsDescription:
upgrading from postgres 9.3 to 9.4 and encountered problem with postgis . could not access file "$libdir/postgis-2.1" pg_dump: [archiver (db)] query failed: ERROR: incompatible library "/opt/pgsql-9.3/lib/postgis-2.1.so": version mismatch DETAIL: Server is version 9.3, library is version 9.4. Steps to reproduce: pg_upgrade -b /opt/pgsql-9.3/bin/ -B /usr/bin/ -d /var/lib/postgres/data-9.3 -D /var/lib/postgres/data |
This task depends upon
Closed by Levente Polyak (anthraxx)
Tuesday, 15 May 2018, 20:53 GMT
Reason for closing: Fixed
Additional comments about closing: 9.6.9-1
Tuesday, 15 May 2018, 20:53 GMT
Reason for closing: Fixed
Additional comments about closing: 9.6.9-1
after pacman -Suy upgrade, /opt only has 9.3 directory and not 9.4
command : pacman -S --needed postgresql-old-upgrade
Copy the old *.so file built for 9.3 into the pg-upgrade library directory.
Nothing we as a distro are going to fix here, we're not going to package every extension just for upgrade purposes.
It's really painful each time you have to upgrade postgis after a major upgrade of postgres.
Supplying them is easily done by removing lines 50 and 51 from the PKGBUILD
https://git.archlinux.org/svntogit/packages.git/tree/trunk/PKGBUILD?h=packages/postgresql-old-upgrade#n50