2000-06-15 19:05:22 +00:00
|
|
|
--
|
|
|
|
-- This removes the type (and a test table)
|
|
|
|
-- It's used just for development
|
|
|
|
--
|
|
|
|
|
2002-10-18 18:41:22 +00:00
|
|
|
-- Adjust this setting to control where the objects get created.
|
|
|
|
SET search_path = public;
|
|
|
|
|
2000-06-15 19:05:22 +00:00
|
|
|
-- remove our test table
|
2002-10-18 18:41:22 +00:00
|
|
|
DROP TABLE a;
|
2000-06-15 19:05:22 +00:00
|
|
|
|
2002-08-22 00:01:51 +00:00
|
|
|
-- now drop the type and associated C functions
|
2002-10-18 18:41:22 +00:00
|
|
|
DROP TYPE lo CASCADE;
|
2000-06-15 19:05:22 +00:00
|
|
|
|
2002-08-22 00:01:51 +00:00
|
|
|
-- the trigger function has no dependency on the type, so drop separately
|
2002-10-18 18:41:22 +00:00
|
|
|
DROP FUNCTION lo_manage();
|
2000-06-15 19:05:22 +00:00
|
|
|
|
|
|
|
-- the lo stuff is now removed from the system
|