[postgis-tickets] [SCM] PostGIS branch master updated. 3.4.0rc1-93-g9debf07db

git at osgeo.org git at osgeo.org
Thu Aug 31 16:07:13 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  9debf07dbfde8bad8d5c11fc6bc9bd45bfff9daa (commit)
       via  7c454b8e0a4eb41af503ee2eb6396c3d7b059f09 (commit)
      from  3a831d5c6ccde943da253e6ca932c483d4179348 (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 9debf07dbfde8bad8d5c11fc6bc9bd45bfff9daa
Author: Sandro Santilli <strk at kbt.io>
Date:   Fri Sep 1 01:06:54 2023 +0200

    Hash a warning accidentally left in

diff --git a/postgis/common_before_upgrade.sql b/postgis/common_before_upgrade.sql
index f57eaa66b..29b9f59fe 100644
--- a/postgis/common_before_upgrade.sql
+++ b/postgis/common_before_upgrade.sql
@@ -66,7 +66,7 @@ BEGIN
 			matching_function.oid::regprocedure,
 			matching_function.proname || deprecated_suffix
 		);
-		RAISE WARNING 'SQL query: %', sql;
+		RAISE DEBUG 'SQL query: %', sql;
 		BEGIN
 			EXECUTE sql;
 		EXCEPTION

commit 7c454b8e0a4eb41af503ee2eb6396c3d7b059f09
Author: Sandro Santilli <strk at kbt.io>
Date:   Thu Aug 31 21:55:46 2023 +0200

    Use exact equality for function identity on drop_by_identity

diff --git a/postgis/common_before_upgrade.sql b/postgis/common_before_upgrade.sql
index a6389faef..f57eaa66b 100644
--- a/postgis/common_before_upgrade.sql
+++ b/postgis/common_before_upgrade.sql
@@ -58,7 +58,7 @@ BEGIN
 	WHERE pronamespace = postgis_namespace
 	AND pg_catalog.LOWER(p.proname) = pg_catalog.LOWER(function_name)
 	AND pg_catalog.pg_function_is_visible(p.oid)
-	AND pg_catalog.LOWER(pg_catalog.pg_get_function_identity_arguments(p.oid)) ~ pg_catalog.LOWER(function_arguments)
+	AND pg_catalog.LOWER(pg_catalog.pg_get_function_identity_arguments(p.oid)) = pg_catalog.LOWER(function_arguments)
 	INTO matching_function;
 
 	IF matching_function.oid IS NOT NULL THEN

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

Summary of changes:
 postgis/common_before_upgrade.sql | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
PostGIS


More information about the postgis-tickets mailing list