1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-27 12:41:57 +03:00

Make /contrib install/uninstall script consistent:

remove transactions
	use create or replace function
	make formatting consistent
	set search patch on first line

Add documentation on modifying *.sql to set the search patch, and
mention that major upgrades should still run the installation scripts.

Some of these issues were spotted by Tom today.
This commit is contained in:
Bruce Momjian
2007-11-11 03:25:35 +00:00
parent 541ff409cc
commit 926bbab448
54 changed files with 1056 additions and 1025 deletions

View File

@ -1,5 +1,4 @@
-- Adjust this setting to control where the objects get created.
BEGIN;
SET search_path = public;
-- Register the function.
@ -17,5 +16,3 @@ 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;

View File

@ -1,4 +1,4 @@
-- Adjust this setting to control where the objects get created.
-- Adjust this setting to control where the objects get dropped.
SET search_path = public;
DROP VIEW pg_buffercache;