[postgis-tickets] r15061 - Add postgis_drop_before and postgis_drop_after scripts back to extension upgrade.
Regina Obe
lr at pcorp.us
Mon Sep 5 20:49:00 PDT 2016
Author: robe
Date: 2016-09-05 20:49:00 -0700 (Mon, 05 Sep 2016)
New Revision: 15061
Modified:
trunk/postgis/Makefile.in
Log:
Add postgis_drop_before and postgis_drop_after scripts back to extension upgrade.
Closes #3623
Modified: trunk/postgis/Makefile.in
===================================================================
--- trunk/postgis/Makefile.in 2016-09-06 03:21:26 UTC (rev 15060)
+++ trunk/postgis/Makefile.in 2016-09-06 03:49:00 UTC (rev 15061)
@@ -177,9 +177,8 @@
$(SQLPP) -I../libpgcommon $< | grep -v '^#' | \
$(PERL) -lpe "s'MODULE_PATHNAME'\$$libdir/postgis- at POSTGIS_MAJOR_VERSION@. at POSTGIS_MINOR_VERSION@'g;s'@extschema@\.''g" > $@
-postgis_upgrade_for_extension.sql: postgis_upgrade_for_extension.sql.in
- $(SQLPP) -I../libpgcommon $< | grep -v '^#' | \
- $(PERL) -lpe "s'MODULE_PATHNAME'\$$libdir/postgis- at POSTGIS_MAJOR_VERSION@. at POSTGIS_MINOR_VERSION@'g" > $@
+postgis_upgrade_for_extension.sql: postgis_drop_before.sql postgis_upgrade_for_extension.sql.in postgis_drop_after.sql
+ cat $^ >> $@
postgis_for_extension.sql: postgis.sql.in
$(SQLPP) -I../libpgcommon $< | grep -v '^#' | \
More information about the postgis-tickets
mailing list