Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
summaryrefslogtreecommitdiff
blob: c6c491b2c1fa204c6f1268de453f96ecf8926feb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
--
-- 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;

-- remove our test table
DROP TABLE a;

-- now drop the type and associated C functions
DROP TYPE lo CASCADE;

-- the trigger function has no dependency on the type, so drop separately
DROP FUNCTION lo_manage();

-- the lo stuff is now removed from the system