[postgis-tickets] [SCM] PostGIS branch spatial-ref-sys-view updated. 3.2.0-459-g88ea5f8bc

git at osgeo.org git at osgeo.org
Wed Feb 2 05:32:23 PST 2022


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, spatial-ref-sys-view has been updated
       via  88ea5f8bc7a7556849af77e564b64215a759054a (commit)
      from  d81d70bad4da57012f22df2c7af1f2a844cf5002 (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 88ea5f8bc7a7556849af77e564b64215a759054a
Author: Sandro Santilli <strk at kbt.io>
Date:   Wed Feb 2 14:19:05 2022 +0100

    Downgrade NOTICE to DEBUG in spatial_ref_sys view editing

diff --git a/postgis/postgis.sql.in b/postgis/postgis.sql.in
index feac5fd24..92b564120 100644
--- a/postgis/postgis.sql.in
+++ b/postgis/postgis.sql.in
@@ -2111,13 +2111,13 @@ BEGIN
 			END IF;
 			RETURN NULL;
 		ELSE
-			RAISE NOTICE 'User override for SRID value % deleted', OLD.srid;
+			RAISE DEBUG 'User override for SRID value % deleted', OLD.srid;
 			RETURN OLD;
 		END IF;
 	ELSIF ( TG_OP = 'UPDATE' ) THEN
 		BEGIN
 			INSERT INTO spatial_ref_sys_user VALUES (NEW.*);
-			RAISE NOTICE 'User override for SRID value % added', OLD.srid;
+			RAISE DEBUG 'User override for SRID value % added', OLD.srid;
 		EXCEPTION
 		WHEN unique_violation THEN
 			UPDATE spatial_ref_sys_user
@@ -2127,7 +2127,7 @@ BEGIN
 				srtext = NEW.srtext,
 				proj4text = NEW.proj4text
 			WHERE srid = NEW.srid;
-			RAISE NOTICE 'SRID override % updated', OLD.srid;
+			RAISE DEBUG 'SRID override % updated', OLD.srid;
 		END;
 		RETURN NEW;
 	ELSE

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

Summary of changes:
 postgis/postgis.sql.in | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)


hooks/post-receive
-- 
PostGIS


More information about the postgis-tickets mailing list