Package Details: postgis-old-upgrade 2.5.3-1

Git Clone URL: https://aur.archlinux.org/postgis-old-upgrade.git (read-only, click to copy)
Package Base: postgis-old-upgrade
Description: Postgis build against postgresql-old-upgrade package for pg_upgrade
Upstream URL: http://postgis.net/
Licenses: GPL
Submitter: amdg
Maintainer: amdg
Last Packager: amdg
Votes: 2
Popularity: 0.000444
First Submitted: 2018-12-17 20:08
Last Updated: 2019-11-26 21:58

Latest Comments

blueyed commented on 2021-01-19 17:12

The following patched worked for me:

 PKGBUILD | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git i/PKGBUILD w/PKGBUILD
index 0ca9c13..ef6e9bd 100644
--- i/PKGBUILD
+++ w/PKGBUILD
@@ -4,9 +4,9 @@
 # Contributor: William Rea <sillywilly@gmail.com>

 pkgname=postgis-old-upgrade
-pkgver=2.5.3
+pkgver=3.0.3
 pkgrel=1
-pg_majorver=11
+pg_majorver=12
 pkgdesc="Postgis build against postgresql-old-upgrade package for pg_upgrade"
 arch=('x86_64')
 url="http://postgis.net/"
@@ -15,7 +15,7 @@ depends=('postgresql-old-upgrade' 'gdal' 'json-c' 'proj' 'protobuf-c')
 changelog=$pkgname.changelog
 options=('!makeflags')
 source=(http://download.osgeo.org/postgis/source/${pkgname/-old-upgrade/}-${pkgver}.tar.gz)
-sha256sums=('72e8269d40f981e22fb2b78d3ff292338e69a4f5166e481a77b015e1d34e559a')
+sha256sums=('07fedbd046cbed55d24bb22474890a4651d0223b6e12d2dac1517b9a43674817')

 build() {
   cd ${pkgname/-old-upgrade/}-${pkgver}

RadioGnome1971 commented on 2020-12-19 18:56

I was able to build it or the 12 -> 13 upgrade by simply changing the parameter 'pg_majorver' to '12' in PKGBUILD.

Only I needed not-mentioned dependencies - clang - distcc - llvm and something which was installed as dependency for clang, and I forgot to note down..

mat commented on 2020-12-10 15:57

With postgresql moving from 12 to 13, this needs a few updates.

TheGoliath commented on 2020-04-13 09:20

https://download.osgeo.org/postgis/source/postgis-3.0.1.tar.gz

jreniel commented on 2020-03-24 13:54

I agree with @bobpaul ... It would be very useful if this package would also include the postgis compiled against the newer postgresql version, because it seem to be required for migration. I'm never again using Arch for a Postgresql db as every upgrade breaks everything.

bobpaul commented on 2020-03-04 22:24

So in order to upgrade from Postgresql 11 to 12, I had to install both this package AND manually build postgis 2.5 against postgres 12 (and install those *.so files into /usr/lib/postgresql). After running the upgrade, I had to run the command to upgrade my databases to postgis 3 and then I could delete the postgis-2.5 compiled against postgresql 12. (instructions are mostly in this ticket: https://bugs.archlinux.org/task/64606)

It would be really convenient if this package provided both postgis-old for postgres-old (installed into /opt) as well as postgis-old for the current version of postgres (installed into /usr).

Does that make sense and seem reasonable?

geosam commented on 2019-12-12 17:24

Thanks!!