mirror of
https://github.com/postgres/postgres.git
synced 2025-07-30 11:03:19 +03:00
Fix a number of syntax errors in contrib modules' uninstall scripts.
Most of the changes add the mandatory USING clause to DROP OPERATOR CLASS statements. DROP TYPE is now DROP TYPE CASCADE; without CASCADE a DROP TYPE fails due to the circular dependency on the type's I/O functions. The DROP FUNCTION statements for the I/O functions have been removed, as DROP TYPE CASCADE removes them automatically. Patch from Michael Fuhr.
This commit is contained in:
@ -8,7 +8,7 @@ DROP FUNCTION dblink_build_sql_insert (text, int2vector, int4, _text, _text);
|
||||
|
||||
DROP FUNCTION dblink_get_pkey (text);
|
||||
|
||||
CREATE TYPE dblink_pkey_results AS (position int4, colname text);
|
||||
DROP TYPE dblink_pkey_results;
|
||||
|
||||
DROP FUNCTION dblink_exec (text,bool);
|
||||
|
||||
|
Reference in New Issue
Block a user