[postgis-tickets] r16925 - Do not mark extention objects during pre-extension upgrades

Sandro Santilli strk at kbt.io
Thu Oct 18 03:16:36 PDT 2018


Author: strk
Date: 2018-10-18 15:16:36 -0700 (Thu, 18 Oct 2018)
New Revision: 16925

Modified:
   trunk/extensions/postgis_topology/Makefile.in
Log:
Do not mark extention objects during pre-extension upgrades

Fixes CREATE EXTENSION postgis_topology FROM unpackaged
Closes #2503

Modified: trunk/extensions/postgis_topology/Makefile.in
===================================================================
--- trunk/extensions/postgis_topology/Makefile.in	2018-10-18 22:16:30 UTC (rev 16924)
+++ trunk/extensions/postgis_topology/Makefile.in	2018-10-18 22:16:36 UTC (rev 16925)
@@ -73,10 +73,10 @@
 sql_bits/topology_comments.sql: ../../doc/topology_comments.sql
 	cp $< $@
 
-sql/$(EXTENSION)--unpackaged--$(EXTVERSION).sql: ../../topology/topology.sql ../../utils/create_unpackaged.pl sql/$(EXTENSION)--ANY--$(EXTVERSION).sql Makefile
+sql/$(EXTENSION)--unpackaged--$(EXTVERSION).sql: ../../topology/topology.sql ../../utils/create_unpackaged.pl sql/topology_upgrade.sql Makefile
 	mkdir -p sql
 	# Ugprade before packaging
-	cat sql/$(EXTENSION)--ANY--$(EXTVERSION).sql > $@
+	cat sql/topology_upgrade.sql > $@
 	cat $< | $(PERL) ../../utils/create_unpackaged.pl postgis_topology >> $@
 
 #upgrade script should have everything but table, schema, type creation/alter



More information about the postgis-tickets mailing list