[SCM] PostGIS branch stable-3.6 updated. 3.6.0rc2-2-g56081cade

git at osgeo.org git at osgeo.org
Tue Aug 26 03:30:57 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.6 has been updated
       via  56081cadea74bed07ed1e19c63c9718b05a0b461 (commit)
      from  2c67c72b8c97409799d3dd076d7e6c55d7f9d524 (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 56081cadea74bed07ed1e19c63c9718b05a0b461
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 3.6 branch (3.6.0rc2)

diff --git a/NEWS b/NEWS
index 2f934aa88..d120be655 100644
--- a/NEWS
+++ b/NEWS
@@ -13,6 +13,7 @@ Denys Kovshun (Ukrainian Team)
 
 CHANGES since PostGIS 3.6.0rc1
 
+ - #5977, Fix downgrade protection with standard conforming strings off (Sandro Santilli)
  - Doc updates
  - #5968, Remove raster generated files in distclean target (Bas Couwenberg)
  - #5969, Fix issue when building --without-topology (Regina Obe)
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:
 NEWS                    | 1 +
 utils/create_upgrade.pl | 4 ++--
 2 files changed, 3 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
PostGIS


More information about the postgis-tickets mailing list