[postgis-tickets] [SCM] PostGIS branch stable-3.4 updated. 3.4.0-12-g748228833

git at osgeo.org git at osgeo.org
Mon Sep 4 01:59:24 PDT 2023


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, stable-3.4 has been updated
       via  7482288336f6f159951e6ccf02ddaaf1fd077cfd (commit)
      from  c2a5f1c9e4cce41661ae3cecdcba871e25cf8b2a (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 7482288336f6f159951e6ccf02ddaaf1fd077cfd
Author: Sandro Santilli <strk at kbt.io>
Date:   Mon Sep 4 10:31:09 2023 +0200

    Have postgis script report presence of deprecated functions
    
    Closes #5492 in 3.4 branch (3.4.1dev)

diff --git a/NEWS b/NEWS
index 6ce910b43..415670419 100644
--- a/NEWS
+++ b/NEWS
@@ -23,6 +23,10 @@ To take advantage of all SFCGAL featurs, SFCGAL 1.4.1+ is needed.
  - #5479, postgis_full_version() and postgis_gdal_version() sometimes
           warn of deprecated SRID: 2163 (Regina Obe)
 
+* Enhancements *
+
+ - #5492, Have postgis script report presence of deprecated functions
+          (Sandro Santilli)
 
 PostGIS 3.4.0
 2023/08/15
diff --git a/loader/postgis.pl b/loader/postgis.pl
index ac1820675..45536a0f4 100644
--- a/loader/postgis.pl
+++ b/loader/postgis.pl
@@ -255,6 +255,10 @@ SELECT n.nspname
 		{
       $NEED_UPGRADE=" - NEEDS UPGRADE";
     }
+		elsif ( $FULL_VERSION =~ /deprecated functions/ )
+		{
+			$NEED_UPGRADE=" - NEEDS UPGRADE (HAS DEPRECATED FUNCTIONS)";
+		}
 
     print "db $db has postgis ${VERSION}${EXTENSION} in schema ${SCHEMA}${NEED_UPGRADE}\n";
   }

-----------------------------------------------------------------------

Summary of changes:
 NEWS              | 4 ++++
 loader/postgis.pl | 4 ++++
 2 files changed, 8 insertions(+)


hooks/post-receive
-- 
PostGIS


More information about the postgis-tickets mailing list