mirror of
https://github.com/postgres/postgres.git
synced 2025-07-30 11:03:19 +03:00
Add missing /contrib files to CVS.
This commit is contained in:
21
contrib/lo/lo_drop.sql
Normal file
21
contrib/lo/lo_drop.sql
Normal file
@ -0,0 +1,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
|
Reference in New Issue
Block a user