mirror of
https://github.com/postgres/postgres.git
synced 2025-11-06 07:49:08 +03:00
Rename the uninstall scripts for contrib/lo and contrib/tsearch2 to
match the convention that foo's uninstall script is uninstall_foo.sql. Also, stop installing lo_test.sql, which really ought to be made into a regression test anyway (though it's unclear how to avoid a dependency on the current OID counter...)
This commit is contained in:
15
contrib/lo/uninstall_lo.sql
Normal file
15
contrib/lo/uninstall_lo.sql
Normal file
@@ -0,0 +1,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
|
||||
Reference in New Issue
Block a user