[postgis-tickets] [SCM] PostGIS branch master updated. 3.1.0alpha1-10-g8ab8243
git at osgeo.org
git at osgeo.org
Wed Feb 12 14:28:59 PST 2020
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "PostGIS".
The branch, master has been updated
via 8ab82431e5b080ee0f65810afecd9028e2bc3744 (commit)
from 4b6991a8d60faf0a095b2f37dcabf2a54005ad9f (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 8ab82431e5b080ee0f65810afecd9028e2bc3744
Author: Sandro Santilli <strk at kbt.io>
Date: Wed Feb 12 23:28:34 2020 +0100
Have postgis upgrade pretend installed extensions are of version ANY
diff --git a/loader/postgis.sh b/loader/postgis.sh
index 8fc2842..9378715 100644
--- a/loader/postgis.sh
+++ b/loader/postgis.sh
@@ -29,7 +29,17 @@ upgrade() {
for db in $@; do
echo "upgrading db $db"
LOG=`cat <<EOF | psql -XtA ${db}
-SELECT postgis_extensions_upgrade()
+BEGIN;
+UPDATE pg_catalog.pg_extension SET extversion = 'ANY'
+ WHERE extname IN (
+ 'postgis',
+ 'postgis_raster',
+ 'postgis_sfcgal',
+ 'postgis_topology',
+ 'postgis_tiger_geocoder'
+ );
+SELECT postgis_extensions_upgrade();
+COMMIT;
EOF`
#sh $0 status ${db}
done
-----------------------------------------------------------------------
Summary of changes:
loader/postgis.sh | 12 +++++++++++-
1 file changed, 11 insertions(+), 1 deletion(-)
hooks/post-receive
--
PostGIS
More information about the postgis-tickets
mailing list