mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-08-26 09:57:19 +02:00
Orphaning that occurs with JDBC & ODBC. Contents: contrib/lo/Makefile contrib/lo/README contrib/lo/lo.c contrib/lo/lo.sql.in These are just test stuff - not essential contrib/lo/test.sql contrib/lo/drop.sql Peter Mount
22 lines
459 B
SQL
22 lines
459 B
SQL
--
|
|
-- 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
|