Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
summaryrefslogtreecommitdiff
blob: 2472715a3d5779a55d08ddb82caf1accf8385724 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
--
-- This removes the type (and a test table)
-- It's used just for development
--

-- remove our test table
drop table a;

-- now drop any sql based functions associated with the lo type
drop function oid(lo);

-- now drop the type
drop type lo;

-- as the type is gone, remove the C based functions
drop function lo_in(opaque);
drop function lo_out(opaque);
drop function lo(oid);
drop function lo_manage();

-- the lo stuff is now removed from the system