postgresql/contrib/lo/uninstall_lo.sql
Bruce Momjian 926bbab448 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.
2007-11-11 03:25:35 +00:00

16 lines
375 B
SQL

-- Adjust this setting to control where the objects get dropped.
SET search_path = public;
--
-- This removes the LO type
-- It's used just for development
--
-- drop the type and associated functions
DROP TYPE lo CASCADE;
-- the trigger function has no dependency on the type, so drop separately
DROP FUNCTION lo_manage();
-- the lo stuff is now removed from the system