From: Cédric Villemain Date: Fri, 20 May 2011 01:02:45 +0000 (+0200) Subject: Update SQL scripts to install/uninstall X-Git-Tag: 1.0~13 X-Git-Url: http://git.postgresql.org/gitweb/?a=commitdiff_plain;h=2853b20469c5d15eec37b03d9417e35a496b8ffb;p=pgfincore.git Update SQL scripts to install/uninstall --- 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;