mirror of
https://github.com/postgres/postgres.git
synced 2025-12-30 00:17:47 -05:00
remove transactions use create or replace function make formatting consistent set search patch on first line Add documentation on modifying *.sql to set the search patch, and mention that major upgrades should still run the installation scripts. Some of these issues were spotted by Tom today.
16 lines
375 B
SQL
16 lines
375 B
SQL
-- Adjust this setting to control where the objects get dropped.
|
|
SET search_path = public;
|
|
|
|
--
|
|
-- This removes the LO type
|
|
-- It's used just for development
|
|
--
|
|
|
|
-- 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
|