[postgis-tickets] r16737 - Drop transaction control from extension enabler
Sandro Santilli
strk at kbt.io
Tue Sep 11 02:19:04 PDT 2018
Author: strk
Date: 2018-09-11 02:19:03 -0700 (Tue, 11 Sep 2018)
New Revision: 16737
Modified:
trunk/postgis/Makefile.in
Log:
Drop transaction control from extension enabler
Modified: trunk/postgis/Makefile.in
===================================================================
--- trunk/postgis/Makefile.in 2018-09-11 09:18:58 UTC (rev 16736)
+++ trunk/postgis/Makefile.in 2018-09-11 09:19:03 UTC (rev 16737)
@@ -221,7 +221,9 @@
postgis_for_extension.sql: postgis.sql.in
$(SQLPP) -I../libpgcommon $< | grep -v '^#' | \
- $(PERL) -lpe "s'MODULE_PATHNAME'\$$libdir/postgis- at POSTGIS_MAJOR_VERSION@. at POSTGIS_MINOR_VERSION@'g" > $@
+ $(PERL) -lpe \
+ "s'MODULE_PATHNAME'\$$libdir/postgis- at POSTGIS_MAJOR_VERSION@. at POSTGIS_MINOR_VERSION@'g" \
+ | $(PERL) -pe 's/BEGIN\;//g ; s/COMMIT\;//g' > $@
#this is redundant but trying to fold in with extension just hangs
postgis_upgrade.sql.in: postgis.sql ../utils/postgis_proc_upgrade.pl
More information about the postgis-tickets
mailing list