[SCM] PostGIS branch master updated. 3.4.0rc1-947-g553258b55

git at osgeo.org git at osgeo.org
Wed Feb 28 03:02:32 PST 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  553258b55940d0774098cadcf0522e307c0c7b39 (commit)
      from  abf836f0acc0c1540dad27fe700cdf60e766f018 (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 553258b55940d0774098cadcf0522e307c0c7b39
Author: Sandro Santilli <strk at kbt.io>
Date:   Wed Feb 28 11:49:55 2024 +0100

    SET escape_string_warning to on when setting conforming strings off
    
    References #5678

diff --git a/regress/hooks/standard-conforming-strings-off.sql b/regress/hooks/standard-conforming-strings-off.sql
index 6b15d2100..2acbf5ae8 100644
--- a/regress/hooks/standard-conforming-strings-off.sql
+++ b/regress/hooks/standard-conforming-strings-off.sql
@@ -8,5 +8,13 @@ BEGIN
 		$$,
 		current_database()
 	);
+
+	EXECUTE format(
+		$$
+			ALTER DATABASE %I
+			SET escape_string_warning to on
+		$$,
+		current_database()
+	);
 END;
 $BODY$ LANGUAGE 'plpgsql';

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

Summary of changes:
 regress/hooks/standard-conforming-strings-off.sql | 8 ++++++++
 1 file changed, 8 insertions(+)


hooks/post-receive
-- 
PostGIS


More information about the postgis-tickets mailing list