OSDN Git Service

c6c491b2c1fa204c6f1268de453f96ecf8926feb
[pg-rex/syncrep.git] / contrib / lo / lo_drop.sql
1 --
2 -- This removes the type (and a test table)
3 -- It's used just for development
4 --
5
6 -- Adjust this setting to control where the objects get created.
7 SET search_path = public;
8
9 -- remove our test table
10 DROP TABLE a;
11
12 -- now drop the type and associated C functions
13 DROP TYPE lo CASCADE;
14
15 -- the trigger function has no dependency on the type, so drop separately
16 DROP FUNCTION lo_manage();
17
18 -- the lo stuff is now removed from the system