[postgis-tickets] r14574 - Use a better name for the postgis extension upgrade template file

Sandro Santilli strk at keybit.net
Wed Jan 6 07:09:39 PST 2016


Author: strk
Date: 2016-01-06 07:09:39 -0800 (Wed, 06 Jan 2016)
New Revision: 14574

Modified:
   trunk/extensions/postgis/Makefile.in
Log:
Use a better name for the postgis extension upgrade template file

Modified: trunk/extensions/postgis/Makefile.in
===================================================================
--- trunk/extensions/postgis/Makefile.in	2016-01-06 14:34:27 UTC (rev 14573)
+++ trunk/extensions/postgis/Makefile.in	2016-01-06 15:09:39 UTC (rev 14574)
@@ -50,9 +50,9 @@
 	cat ../../postgis/postgis.sql ../../raster/rt_pg/rtpostgis.sql | $(PERL) ../../utils/create_unpackaged.pl postgis > $@
 	
 #this is a cludge to allow upgrading from same SVN to same SVN
-sql/$(EXTENSION)--$(EXTVERSION)--$(EXTVERSION)next.sql: sql_bits/postgis_raster_upgrade_minor.sql
+sql/$(EXTENSION)--$(EXTVERSION)--$(EXTVERSION)next.sql: sql_bits/postgis_extension_upgrade_minor.sql
 	cp $< $@
-sql/$(EXTENSION)--$(EXTVERSION)next--$(EXTVERSION).sql: sql_bits/postgis_raster_upgrade_minor.sql
+sql/$(EXTENSION)--$(EXTVERSION)next--$(EXTVERSION).sql: sql_bits/postgis_extension_upgrade_minor.sql
 	cp $< $@
 
 #strip BEGIN/COMMIT since these are not allowed in extensions
@@ -100,14 +100,13 @@
 sql_bits/raster_comments.sql: ../../doc/raster_comments.sql
 	cp $< $@
 
-#postgis_raster_upgrade_minor.sql is the one that contains both postgis AND raster
-#TODO: come up with a better name
+#postgis_extension_upgrade_minor.sql is the one that contains both postgis AND raster
 #TODO: what about postgis_drop_after.sql ? where does it fit ??
-sql_bits/postgis_raster_upgrade_minor.sql: ../postgis_extension_helper.sql sql_bits/postgis_upgrade.sql sql_bits/rtpostgis_upgrade.sql ../../doc/raster_comments.sql ../../doc/postgis_comments.sql ../postgis_extension_helper_uninstall.sql
+sql_bits/postgis_extension_upgrade_minor.sql: ../postgis_extension_helper.sql sql_bits/postgis_upgrade.sql sql_bits/rtpostgis_upgrade.sql ../../doc/raster_comments.sql ../../doc/postgis_comments.sql ../postgis_extension_helper_uninstall.sql
 	echo '\echo Use "CREATE EXTENSION $(EXTENSION)" to load this file. \quit' > $@
 	cat $^ >> $@
 
-sql_minor_upgrade: sql_bits/postgis_raster_upgrade_minor.sql
+sql_minor_upgrade: sql_bits/postgis_extension_upgrade_minor.sql
 	for OLD_VERSION in $(UPGRADEABLE_VERSIONS); do \
   	  cat $< > sql/$(EXTENSION)--$$OLD_VERSION--$(EXTVERSION).sql; \
 	done



More information about the postgis-tickets mailing list