[postgis-tickets] [SCM] PostGIS branch master updated. 3.3.0rc2-656-ga4c05cdef

git at osgeo.org git at osgeo.org
Tue Feb 21 14:26:15 PST 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  a4c05cdefab572a3f54b1323cf392f0f837a804f (commit)
      from  92949045323229d69e5a7bb010c609b1dcbea2f9 (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 a4c05cdefab572a3f54b1323cf392f0f837a804f
Author: Sandro Santilli <strk at kbt.io>
Date:   Tue Feb 21 23:25:29 2023 +0100

    Support fully-qualified types and array types in CAST syntax
    
    Closes #5345 for good this time

diff --git a/utils/create_upgrade.pl b/utils/create_upgrade.pl
index 381969339..afc6f00b0 100755
--- a/utils/create_upgrade.pl
+++ b/utils/create_upgrade.pl
@@ -280,7 +280,7 @@ EOF
     }
 
     # This code handles casts by dropping and recreating them.
-    if (/^create cast\s+\(\s*(\w+)\s+as\s+(\w+)\)/i)
+    if (/^create cast\s+\(\s*([^\s]+)\s+as\s+([^)]+)\)/i)
     {
         my $type1 = $1;
         my $type2 = $2;

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

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