mirror of
https://github.com/postgres/postgres.git
synced 2025-07-30 11:03:19 +03:00
Update /contrib for "autocommit TO 'on'".
Create objects in public schema. Make spacing/capitalization consistent. Remove transaction block use for object creation. Remove unneeded function GRANTs.
This commit is contained in:
@ -3,13 +3,18 @@
|
||||
-- It's used just for development
|
||||
--
|
||||
|
||||
-- Adjust this setting to control where the objects get created.
|
||||
SET search_path = public;
|
||||
|
||||
SET autocommit TO 'on';
|
||||
|
||||
-- remove our test table
|
||||
drop table a;
|
||||
DROP TABLE a;
|
||||
|
||||
-- now drop the type and associated C functions
|
||||
drop type lo CASCADE;
|
||||
DROP TYPE lo CASCADE;
|
||||
|
||||
-- the trigger function has no dependency on the type, so drop separately
|
||||
drop function lo_manage();
|
||||
DROP FUNCTION lo_manage();
|
||||
|
||||
-- the lo stuff is now removed from the system
|
||||
|
Reference in New Issue
Block a user