2007-11-13 12:24:29 +08:00
|
|
|
/* $PostgreSQL: pgsql/contrib/lo/uninstall_lo.sql,v 1.3 2007/11/13 04:24:28 momjian Exp $ */
|
|
|
|
|
2007-11-11 11:25:35 +08:00
|
|
|
-- Adjust this setting to control where the objects get dropped.
|
|
|
|
SET search_path = public;
|
|
|
|
|
2000-06-16 03:05:22 +08:00
|
|
|
--
|
2005-06-23 08:06:37 +08:00
|
|
|
-- This removes the LO type
|
2000-06-16 03:05:22 +08:00
|
|
|
-- It's used just for development
|
|
|
|
--
|
|
|
|
|
2005-06-23 08:06:37 +08:00
|
|
|
-- drop the type and associated functions
|
2002-10-19 02:41:22 +08:00
|
|
|
DROP TYPE lo CASCADE;
|
2000-06-16 03:05:22 +08:00
|
|
|
|
2002-08-22 08:01:51 +08:00
|
|
|
-- the trigger function has no dependency on the type, so drop separately
|
2002-10-19 02:41:22 +08:00
|
|
|
DROP FUNCTION lo_manage();
|
2000-06-16 03:05:22 +08:00
|
|
|
|
|
|
|
-- the lo stuff is now removed from the system
|