From 2853b20469c5d15eec37b03d9417e35a496b8ffb Mon Sep 17 00:00:00 2001 From: =?utf8?q?C=C3=A9dric=20Villemain?= Date: Fri, 20 May 2011 03:02:45 +0200 Subject: [PATCH] Update SQL scripts to install/uninstall --- pgfincore.sql.in | 2 -- uninstall_pgfincore.sql.in | 6 +++--- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/pgfincore.sql.in b/pgfincore.sql.in index 8a1c197..8aa075b 100644 --- a/pgfincore.sql.in +++ b/pgfincore.sql.in @@ -1,4 +1,3 @@ -BEGIN; SET search_path = public; @@ -155,5 +154,4 @@ RETURNS setof record AS 'SELECT * from pgfincore($1, ''main'', false)' LANGUAGE SQL; -COMMIT; diff --git a/uninstall_pgfincore.sql.in b/uninstall_pgfincore.sql.in index 304abe4..75b6a6b 100644 --- a/uninstall_pgfincore.sql.in +++ b/uninstall_pgfincore.sql.in @@ -1,4 +1,4 @@ -BEGIN; + SET search_path = public; @@ -16,6 +16,6 @@ DROP FUNCTION pgfadvise_loader(regclass, text, int, bool, bool, varbit); DROP FUNCTION pgfadvise_loader(regclass, int, bool, bool, varbit); DROP FUNCTION pgfincore(regclass); -DROP FUNCTION pgfincore(regclass, text); +DROP FUNCTION pgfincore(regclass, bool); +DROP FUNCTION pgfincore(regclass, text, bool); -COMMIT; -- 2.39.5