[SCM] PostGIS branch stable-3.4 updated. 3.4.1-18-g451e85f6b

git at osgeo.org git at osgeo.org
Wed Dec 27 03:05:09 PST 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, stable-3.4 has been updated
       via  451e85f6b33f32a4f2451050c46758f73faad606 (commit)
      from  19fc081112317a44b27cde40616fa3f321326e28 (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 451e85f6b33f32a4f2451050c46758f73faad606
Author: Sandro Santilli <strk at kbt.io>
Date:   Tue Dec 5 10:37:41 2023 +0100

    Add hook to set standard_conforming_string off in test database
    
    References #5633 in 3.4 branch (3.4.2dev)

diff --git a/regress/hooks/standard-conforming-strings-off.sql b/regress/hooks/standard-conforming-strings-off.sql
new file mode 100644
index 000000000..6b15d2100
--- /dev/null
+++ b/regress/hooks/standard-conforming-strings-off.sql
@@ -0,0 +1,12 @@
+-- See https://trac.osgeo.org/postgis/ticket/5633
+DO $BODY$
+BEGIN
+	EXECUTE format(
+		$$
+			ALTER DATABASE %I
+			SET standard_conforming_strings to off
+		$$,
+		current_database()
+	);
+END;
+$BODY$ LANGUAGE 'plpgsql';

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

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


hooks/post-receive
-- 
PostGIS


More information about the postgis-tickets mailing list