[SCM] PostGIS branch stable-3.4 updated. 3.4.4-13-g330244e42
git at osgeo.org
git at osgeo.org
Tue Apr 22 12:49:32 PDT 2025
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 330244e4213df98329f3d59acfad0e1120f57909 (commit)
from a6b036da73c80421f19d3e25c5b983a3a989e18c (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 330244e4213df98329f3d59acfad0e1120f57909
Author: Paul Ramsey <pramsey at cleverelephant.ca>
Date: Tue Apr 22 12:49:27 2025 -0700
Use standard conforming strings
diff --git a/postgis/postgis.sql.in b/postgis/postgis.sql.in
index 6a34f679a..5ea71e71f 100644
--- a/postgis/postgis.sql.in
+++ b/postgis/postgis.sql.in
@@ -6426,28 +6426,28 @@ CREATE OR REPLACE VIEW geometry_columns AS
LEFT JOIN ( SELECT s.connamespace,
s.conrelid,
s.conkey,
- (regexp_match(s.consrc, 'geometrytype\(\w+\)\s*=\s*(\w+)', 'i'))[1]::text AS type
+ (regexp_match(s.consrc, E'geometrytype\(\w+\)\s*=\s*(\w+)', E'i'))[1]::text AS type
FROM (SELECT connamespace, conrelid, conkey, pg_get_constraintdef(oid) As consrc
FROM pg_constraint) AS s
- WHERE s.consrc ~* 'geometrytype(\w+)\s*=\s*\w+'::text
+ WHERE s.consrc ~* E'geometrytype(\w+)\s*=\s*\w+'::text
) st ON st.connamespace = n.oid AND st.conrelid = c.oid AND (a.attnum = ANY (st.conkey))
LEFT JOIN ( SELECT s.connamespace,
s.conrelid,
s.conkey,
- (regexp_match(s.consrc, 'ndims\(\w+\)\s*=\s*(\d+)', 'i'))[1]::integer AS ndims
+ (regexp_match(s.consrc, E'ndims\(\w+\)\s*=\s*(\d+)', E'i'))[1]::integer AS ndims
FROM (SELECT connamespace, conrelid, conkey, pg_get_constraintdef(oid) As consrc
FROM pg_constraint) AS s
- WHERE s.consrc ~* 'ndims(\w+)\s*=\s*\d+'::text
+ WHERE s.consrc ~* E'ndims(\w+)\s*=\s*\d+'::text
) sn ON sn.connamespace = n.oid AND sn.conrelid = c.oid AND (a.attnum = ANY (sn.conkey))
LEFT JOIN ( SELECT s.connamespace,
s.conrelid,
s.conkey,
- (regexp_match(s.consrc, 'st_srid\(\w+\)\s*=\s*(\d+)', 'i'))[1]::integer As srid
+ (regexp_match(s.consrc, E'st_srid\(\w+\)\s*=\s*(\d+)', E'i'))[1]::integer As srid
FROM (SELECT connamespace, conrelid, conkey, pg_get_constraintdef(oid) As consrc
FROM pg_constraint) AS s
- WHERE s.consrc ~* 'srid(\w+)\s*=\s*\d+'::text
+ WHERE s.consrc ~* E'srid(\w+)\s*=\s*\d+'::text
) sr ON sr.connamespace = n.oid AND sr.conrelid = c.oid AND (a.attnum = ANY (sr.conkey))
WHERE (c.relkind = ANY (ARRAY['r'::"char", 'v'::"char", 'm'::"char", 'f'::"char", 'p'::"char"]))
-----------------------------------------------------------------------
Summary of changes:
postgis/postgis.sql.in | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
hooks/post-receive
--
PostGIS
More information about the postgis-tickets
mailing list