2000-06-16 03:05:22 +08:00
|
|
|
--
|
|
|
|
-- This removes the type (and a test table)
|
|
|
|
-- It's used just for development
|
|
|
|
--
|
|
|
|
|
2002-10-19 02:41:22 +08:00
|
|
|
-- Adjust this setting to control where the objects get created.
|
|
|
|
SET search_path = public;
|
|
|
|
|
2000-06-16 03:05:22 +08:00
|
|
|
-- remove our test table
|
2002-10-19 02:41:22 +08:00
|
|
|
DROP TABLE a;
|
2000-06-16 03:05:22 +08:00
|
|
|
|
2002-08-22 08:01:51 +08:00
|
|
|
-- now drop the type and associated C 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
|