[postgis-tickets] [SCM] PostGIS branch stable-3.0 updated. 3.0.7-9-g26a6a6813

git at osgeo.org git at osgeo.org
Sat Oct 29 03:10:53 PDT 2022


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.0 has been updated
       via  26a6a68139a0889cb822892774f96ed6fb001cad (commit)
       via  7204dbd2a5562c35619831eacf75e4e4763bec91 (commit)
      from  6c1718af32c2abac17b6402eab383fe0832aac06 (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 26a6a68139a0889cb822892774f96ed6fb001cad
Author: Sandro Santilli <strk at kbt.io>
Date:   Sat Oct 29 11:39:08 2022 +0200

    Encode dependency of raster unpackaged sql on create_unpackage.pl

diff --git a/extensions/postgis_raster/Makefile.in b/extensions/postgis_raster/Makefile.in
index 84d8031c7..224cd0fb5 100644
--- a/extensions/postgis_raster/Makefile.in
+++ b/extensions/postgis_raster/Makefile.in
@@ -81,8 +81,8 @@ sql/$(EXTENSION)--$(EXTVERSION).sql: sql/$(EXTENSION).sql | sql
 sql/$(EXTENSION)--unpackaged.sql: Makefile | sql
 	echo "-- Nothing to do here" > $@
 
-sql/$(EXTENSION)--unpackaged--$(EXTVERSION).sql: $(EXTENSION_UNPACKAGED_UPGRADE_SCRIPTS) | ../../utils/create_unpackaged.pl sql/$(EXTENSION)--ANY--$(EXTVERSION).sql Makefile sql
-	cat $^ | $(PERL) @top_srcdir@/utils/create_unpackaged.pl postgis_raster > $@
+sql/$(EXTENSION)--unpackaged--$(EXTVERSION).sql: sql/$(EXTENSION)--ANY--$(EXTVERSION).sql sql/$(EXTENSION)--$(EXTVERSION).sql ../../utils/create_unpackaged.pl Makefile | sql
+	cat sql/$(EXTENSION)--$(EXTVERSION).sql | $(PERL) @top_srcdir@/utils/create_unpackaged.pl $(EXTENSION) > $@
 	# Upgrade after packaging
 	cat sql/$(EXTENSION)--ANY--$(EXTVERSION).sql >> $@
 

commit 7204dbd2a5562c35619831eacf75e4e4763bec91
Author: Sandro Santilli <strk at kbt.io>
Date:   Sat Oct 29 12:01:57 2022 +0200

    Fix handling of multiline SQL defn in unpackaged script creation

diff --git a/utils/create_unpackaged.pl b/utils/create_unpackaged.pl
index f80739e4d..7aaa9f121 100755
--- a/utils/create_unpackaged.pl
+++ b/utils/create_unpackaged.pl
@@ -147,7 +147,7 @@ sub add_if_not_exists
 	# in objects
 	die "Invalid characters in object definition: $obj" if $obj =~ /'/;
 
-	$obj =~ m/([^ ]*) (.*)/;
+	$obj =~ m/([^ ]*) (.*)/s; # can be multiline
 	my $type = $1;
 	my $sig = $2;
 

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

Summary of changes:
 extensions/postgis_raster/Makefile.in | 4 ++--
 utils/create_unpackaged.pl            | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)


hooks/post-receive
-- 
PostGIS


More information about the postgis-tickets mailing list