From 098669553c602b7b2aa5a6b17fd97b6a2a5b9b51 Mon Sep 17 00:00:00 2001 From: Sandro Santilli Date: Tue, 11 Sep 2018 09:19:03 +0000 Subject: [PATCH] Drop transaction control from extension enabler git-svn-id: http://svn.osgeo.org/postgis/trunk@16737 b70326c6-7e19-0410-871a-916f4a2858ee --- postgis/Makefile.in | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/postgis/Makefile.in b/postgis/Makefile.in index 88db06c7c..c6b5fe7ec 100644 --- a/postgis/Makefile.in +++ b/postgis/Makefile.in @@ -221,7 +221,9 @@ postgis_upgrade_for_extension.sql: postgis_drop_before.sql postgis_upgrade_for_e postgis_for_extension.sql: postgis.sql.in $(SQLPP) -I../libpgcommon $< | grep -v '^#' | \ - $(PERL) -lpe "s'MODULE_PATHNAME'\$$libdir/postgis-@POSTGIS_MAJOR_VERSION@.@POSTGIS_MINOR_VERSION@'g" > $@ + $(PERL) -lpe \ + "s'MODULE_PATHNAME'\$$libdir/postgis-@POSTGIS_MAJOR_VERSION@.@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 -- 2.40.0