[SCM] PostGIS branch master updated. 3.5.0-49-gf39c08544

git at osgeo.org git at osgeo.org
Mon Nov 11 06:36:04 PST 2024


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  f39c08544261d4c76d85f9a03d38e94779dd1c8a (commit)
      from  75d9b03d6c4ec5d47637f9912081f4eaf332810e (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 f39c08544261d4c76d85f9a03d38e94779dd1c8a
Author: Sandro Santilli <strk at kbt.io>
Date:   Mon Nov 11 15:19:39 2024 +0100

    Support plpgsql functions with $<arbitrary_text>$ quoted body

diff --git a/utils/create_upgrade.pl b/utils/create_upgrade.pl
index 5de18a8a1..eab3beffc 100755
--- a/utils/create_upgrade.pl
+++ b/utils/create_upgrade.pl
@@ -195,7 +195,7 @@ while(<INPUT>)
         while(<INPUT>)
         {
             $def .= $_;
-            $endfunc = 1 if /^\s*(\$\$\s*)?LANGUAGE /;
+            $endfunc = 1 if /^\s*(\$[^\$]*\$\s*)?LANGUAGE /;
             last if ( $endfunc && /\;/ );
         }
         foreach my $replaced (@replaced_array)

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

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


hooks/post-receive
-- 
PostGIS


More information about the postgis-tickets mailing list