postgresql/contrib/lo/lo_drop.sql

21 lines
462 B
MySQL
Raw Normal View History

2000-06-16 03:05:22 +08: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;
SET autocommit TO 'on';
2000-06-16 03:05:22 +08:00
-- remove our test table
DROP TABLE a;
2000-06-16 03:05:22 +08:00
-- now drop the type and associated C functions
DROP TYPE lo CASCADE;
2000-06-16 03:05:22 +08:00
-- the trigger function has no dependency on the type, so drop separately
DROP FUNCTION lo_manage();
2000-06-16 03:05:22 +08:00
-- the lo stuff is now removed from the system