1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-28 23:42:10 +03:00

Improve /contrib/pg_buffercache installation to use BEGIN/COMMIT,

improve examples.

Mark Kirkwood
This commit is contained in:
Bruce Momjian
2006-04-26 22:50:17 +00:00
parent 136bea1540
commit 525de8d556
2 changed files with 6 additions and 2 deletions

View File

@ -1,4 +1,5 @@
-- Adjust this setting to control where the objects get created.
BEGIN;
SET search_path = public;
-- Register the function.
@ -16,3 +17,5 @@ CREATE VIEW pg_buffercache AS
-- Don't want these to be available at public.
REVOKE ALL ON FUNCTION pg_buffercache_pages() FROM PUBLIC;
REVOKE ALL ON pg_buffercache FROM PUBLIC;
COMMIT;