[SCM] PostGIS branch master updated. 3.4.0rc1-868-g3886dee1b

git at osgeo.org git at osgeo.org
Wed Dec 27 01:56:17 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, master has been updated
       via  3886dee1bd2b7ea99b45990b0d9475d1082dd3e5 (commit)
      from  03e8bc97e2015d466aee4b15819c9f65e781e68e (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 3886dee1bd2b7ea99b45990b0d9475d1082dd3e5
Author: Sandro Santilli <strk at kbt.io>
Date:   Wed Dec 27 10:48:54 2023 +0100

    More escaped string usage (regress tests)
    
    References #5633

diff --git a/regress/core/regress.sql b/regress/core/regress.sql
index f132830a7..e2a52a7b3 100644
--- a/regress/core/regress.sql
+++ b/regress/core/regress.sql
@@ -330,11 +330,11 @@ SELECT DISTINCT 'unexpected probin', proname || ':' || probin
 FROM pg_proc
 WHERE probin like '%postgis%'
   AND
-regexp_replace(probin, '(rt)?postgis(_[^-]*)?(-[0-9.]*)$', '\3')
+regexp_replace(probin, '(rt)?postgis(_[^-]*)?(-[0-9.]*)$', E'\\3')
 	!=
 (
 	SELECT
-regexp_replace(probin, '(rt)?postgis(_[^-]*)?(-[0-9.]*)$', '\3')
+regexp_replace(probin, '(rt)?postgis(_[^-]*)?(-[0-9.]*)$', E'\\3')
 	FROM pg_proc WHERE proname = 'postgis_lib_version'
 )
 ORDER BY 2;
@@ -353,7 +353,7 @@ WHERE (
 	probin like '%postgis%'
   OR (
 		probin is null and
-		oid::regprocedure::text like 'st\_%' or
+		oid::regprocedure::text like E'st\\_%' or
 		oid::regprocedure::text like 'postgis_%'
 	)
 )
@@ -372,7 +372,7 @@ WHERE (
 	probin like '%postgis%'
   OR (
 		probin is null and
-		oid::regprocedure::text like 'st\_%' or
+		oid::regprocedure::text like E'st\\_%' or
 		oid::regprocedure::text like 'postgis_%'
 	)
 )

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

Summary of changes:
 regress/core/regress.sql | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)


hooks/post-receive
-- 
PostGIS


More information about the postgis-tickets mailing list