[SCM] PostGIS branch master updated. 3.4.0rc1-715-g0ea22f444

git at osgeo.org git at osgeo.org
Fri Oct 27 01:33:25 PDT 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  0ea22f44492e1495386f989146b678015e840549 (commit)
      from  52bfcd5faa3a7577292814d0a5a17c5698a9032f (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 0ea22f44492e1495386f989146b678015e840549
Author: Sandro Santilli <strk at kbt.io>
Date:   Fri Oct 27 10:32:13 2023 +0200

    run_test.pl: fix extension upgrades to 3.3 targets
    
    It was 3.4.0 introducing the ANY intermediate path, not 3.3.0
    
    References #5591 in master branch (3.5.0dev)

diff --git a/regress/run_test.pl b/regress/run_test.pl
index a92d7bd55..1c987eaf6 100755
--- a/regress/run_test.pl
+++ b/regress/run_test.pl
@@ -1751,7 +1751,7 @@ sub upgrade_extension_sql
 
     my $sql = '';
     if ( "${libver}" eq "${to}" ) {
-        if ( semver_lessthan($to, "3.3.0") ) {
+        if ( semver_lessthan($to, "3.4.0") ) {
             $sql .= "ALTER EXTENSION $extname UPDATE TO '${to}next'; ";
         } else {
             $sql .= "ALTER EXTENSION $extname UPDATE TO 'ANY'; ";

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

Summary of changes:
 regress/run_test.pl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


hooks/post-receive
-- 
PostGIS


More information about the postgis-tickets mailing list