postgresql/contrib/dblink/uninstall_dblink.sql
Neil Conway 48fb696753 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.
2006-03-13 18:04:58 +00:00

60 lines
1.3 KiB
SQL

DROP FUNCTION dblink_current_query ();
DROP FUNCTION dblink_build_sql_update (text, int2vector, int4, _text, _text);
DROP FUNCTION dblink_build_sql_delete (text, int2vector, int4, _text);
DROP FUNCTION dblink_build_sql_insert (text, int2vector, int4, _text, _text);
DROP FUNCTION dblink_get_pkey (text);
DROP TYPE dblink_pkey_results;
DROP FUNCTION dblink_exec (text,bool);
DROP FUNCTION dblink_exec (text);
DROP FUNCTION dblink_exec (text,text,bool);
DROP FUNCTION dblink_exec (text,text);
DROP FUNCTION dblink (text,bool);
DROP FUNCTION dblink (text);
DROP FUNCTION dblink (text,text,bool);
DROP FUNCTION dblink (text,text);
DROP FUNCTION dblink_close (text,text,bool);
DROP FUNCTION dblink_close (text,text);
DROP FUNCTION dblink_close (text,bool);
DROP FUNCTION dblink_close (text);
DROP FUNCTION dblink_fetch (text,text,int,bool);
DROP FUNCTION dblink_fetch (text,text,int);
DROP FUNCTION dblink_fetch (text,int,bool);
DROP FUNCTION dblink_fetch (text,int);
DROP FUNCTION dblink_open (text,text,text,bool);
DROP FUNCTION dblink_open (text,text,text);
DROP FUNCTION dblink_open (text,text,bool);
DROP FUNCTION dblink_open (text,text);
DROP FUNCTION dblink_disconnect (text);
DROP FUNCTION dblink_disconnect ();
DROP FUNCTION dblink_connect (text, text);
DROP FUNCTION dblink_connect (text);