postgresql/contrib/lo/lo_drop.sql

19 lines
437 B
MySQL
Raw Normal View History

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