~vcs-imports/mammoth-replicator/trunk

« back to all changes in this revision

Viewing changes to contrib/lo/lo_drop.sql

  • Committer: alvherre
  • Date: 2005-12-16 21:24:52 UTC
  • Revision ID: svn-v4:db760fc0-0f08-0410-9d63-cc6633f64896:trunk:1
Initial import of the REL8_0_3 sources from the Pgsql CVS repository.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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