[postgis-tickets] [SCM] PostGIS branch master updated. 3.4.0rc1-191-g57c5dad0f

git at osgeo.org git at osgeo.org
Mon Sep 4 01:32:02 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, master has been updated
       via  57c5dad0f32990921d6aa8d6fbf34366d0adffd4 (commit)
      from  8c04f600036a17d8759b16ac5ba4bc1e1f3f6337 (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 57c5dad0f32990921d6aa8d6fbf34366d0adffd4
Author: Sandro Santilli <strk at kbt.io>
Date:   Mon Sep 4 10:31:09 2023 +0200

    Have postgis script report presence of deprecated functions
    
    References #5492 in master branch (3.5.0dev)

diff --git a/loader/postgis.pl b/loader/postgis.pl
index ac1820675..e7b66025b 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 FOR USE OF DEPRECATED FUNCTIONS)";
+		}
 
     print "db $db has postgis ${VERSION}${EXTENSION} in schema ${SCHEMA}${NEED_UPGRADE}\n";
   }

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

Summary of changes:
 loader/postgis.pl | 4 ++++
 1 file changed, 4 insertions(+)


hooks/post-receive
-- 
PostGIS


More information about the postgis-tickets mailing list