[SCM] PostGIS branch master updated. 3.4.0rc1-1134-g91ad04d38

git at osgeo.org git at osgeo.org
Fri May 31 15:19:06 PDT 2024


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  91ad04d38f3a8cedc6140185389ff2881338c762 (commit)
      from  063edf72facdce90c2a1019db100292137e29905 (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 91ad04d38f3a8cedc6140185389ff2881338c762
Author: Paul Ramsey <pramsey at cleverelephant.ca>
Date:   Fri May 31 14:18:40 2024 -0700

    Remove pgaudit check from extension script, as pgaudit no longer slams the log with messages on extension install, references #5611

diff --git a/postgis/postgis.sql.in b/postgis/postgis.sql.in
index 9677eeccc..89626c9dd 100644
--- a/postgis/postgis.sql.in
+++ b/postgis/postgis.sql.in
@@ -62,26 +62,6 @@ END
 $$ LANGUAGE 'plpgsql';
 
 
--- Check that pgaudit is disabled or not installed
--- Running extension creation with pgaudit enabled will result in a
--- multi-gigabyte log storm for PgSQL <= 14
-DO $$
-DECLARE
-	pgalog text;
-BEGIN
-	SHOW pgaudit.log INTO pgalog;
-	RAISE DEBUG 'pgaudit is installed, pgaudit.log is set to ''%''', pgalog;
-	IF pg_catalog.lower(pgalog) != 'none'
-	THEN
-		RAISE EXCEPTION 'PostGIS installation stopped: pgaudit.log is set to ''%''. Set pgaudit.log to ''none'' before installing PostGIS. You may re-enable pgaudit after installation is complete.', pgalog;
-	END IF;
-EXCEPTION
-	WHEN undefined_object THEN
-		RAISE DEBUG 'pgaudit is not installed';
-END;
-$$;
-
-
 -- Let the user know about a deprecated signature and its new name, if any
 CREATE OR REPLACE FUNCTION _postgis_deprecate(oldname text, newname text, version text)
 RETURNS void AS

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

Summary of changes:
 postgis/postgis.sql.in | 20 --------------------
 1 file changed, 20 deletions(-)


hooks/post-receive
-- 
PostGIS


More information about the postgis-tickets mailing list