[SCM] PostGIS branch master updated. 3.7.0rc1-75-g275c9f343

git at osgeo.org git at osgeo.org
Wed Sep 30 03:47:48 PDT 2026


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  275c9f343c11b33d90588aa848898aad6dd5858c (commit)
      from  6b86e363287c65aeb95b796028aecd4d8cbc4489 (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 275c9f343c11b33d90588aa848898aad6dd5858c
Author: Sandro Santilli <strk at kbt.io>
Date:   Wed Sep 30 12:47:14 2026 +0200

    Fix creation of new types on upgrade

diff --git a/utils/create_upgrade.pl b/utils/create_upgrade.pl
index 04281a135..f3178168c 100644
--- a/utils/create_upgrade.pl
+++ b/utils/create_upgrade.pl
@@ -549,12 +549,15 @@ EOF
     if (/^create type ([\w.]+)/i)
     {
         my $newtype = $1;
-        my $def .= $_;
+        my $def = $_;
         my @replaced_array = parse_replaces($comment);
 
         my @attributes;
         my $attr_comment = '';
         while(<INPUT>) {
+
+            $def .= $_;
+
             # End of type definition
             last if /^\s*\)\s*;?\s*$/;
 

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

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


hooks/post-receive
-- 
PostGIS


More information about the postgis-tickets mailing list