[SCM] PostGIS branch master updated. 3.6.0rc2-11-gfb9111a1a

git at osgeo.org git at osgeo.org
Tue Aug 26 03:32:01 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, master has been updated
       via  fb9111a1aa5ad3c24e022f0daeb9f34bc95aaa45 (commit)
      from  a38d0ca46e821ac48cd998e1f3b057d257deae79 (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 fb9111a1aa5ad3c24e022f0daeb9f34bc95aaa45
Author: Sandro Santilli <strk at kbt.io>
Date:   Mon Aug 25 18:27:14 2025 +0200

    Fix downgrade protection with standard conforming strings off
    
    References #5977 in master branch (3.7.0dev)

diff --git a/utils/create_upgrade.pl b/utils/create_upgrade.pl
index a94ef54f4..f4bb9adc1 100644
--- a/utils/create_upgrade.pl
+++ b/utils/create_upgrade.pl
@@ -965,7 +965,7 @@ BEGIN
         new_ver_int := pg_catalog.string_to_array(
             pg_catalog.regexp_replace(
                 new_scripts,
-                '[^\d.].*',
+                E'[^\\d.].*',
                 ''
             ),
             '.'
@@ -978,7 +978,7 @@ BEGIN
         old_ver_int := pg_catalog.string_to_array(
             pg_catalog.regexp_replace(
                 old_scripts,
-                '[^\d.].*',
+                E'[^\\d.].*',
                 ''
             ),
             '.'

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

Summary of changes:
 utils/create_upgrade.pl | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
PostGIS


More information about the postgis-tickets mailing list