[postgis-tickets] [SCM] PostGIS branch master updated. 3.2.0-708-gcbf528321

git at osgeo.org git at osgeo.org
Sun Apr 10 20:13:13 PDT 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, master has been updated
       via  cbf528321b94cd859b9012c0084a7c274b3e6493 (commit)
      from  6a6cc54bdf1315da8e8c8401575c179aa8727daf (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 cbf528321b94cd859b9012c0084a7c274b3e6493
Author: Regina Obe <lr at pcorp.us>
Date:   Sun Apr 10 23:13:07 2022 -0400

    Fix search path function.  References #5125 and #5126 for PostGIS 3.3.0

diff --git a/extensions/postgis_extension_helper.sql b/extensions/postgis_extension_helper.sql
index fe6ed9ba9..ab5e654db 100644
--- a/extensions/postgis_extension_helper.sql
+++ b/extensions/postgis_extension_helper.sql
@@ -119,8 +119,8 @@ BEGIN
 			WHERE datname = current_database()
 		) and setrole = 0
 	)
-	SELECT regexp_replace(c, '^search_path=', '')
-	FROM settings WHERE c like 'search_path=%'
+	SELECT regexp_replace(config, '^search_path=', '')
+	FROM settings WHERE config like 'search_path=%'
 	INTO var_cur_search_path;
 
 	RAISE NOTICE 'cur_search_path from pg_db_role_setting is %', var_cur_search_path;

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

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


hooks/post-receive
-- 
PostGIS


More information about the postgis-tickets mailing list