aboutsummaryrefslogtreecommitdiff
path: root/contrib/lo/uninstall_lo.sql
blob: de0281fabd1887ca5e11739db15972985a5fa754 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--
-- This removes the LO type
-- It's used just for development
--

-- Adjust this setting to control where the objects get created.
SET search_path = public;

-- drop the type and associated 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