postgresql/contrib/isbn_issn/uninstall_isbn_issn.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

62 lines
1.0 KiB
SQL

SET search_path = public;
DROP OPERATOR CLASS isbn_ops USING btree;
DROP FUNCTION isbn_cmp(isbn, isbn);
DROP OPERATOR <> (isbn, isbn);
DROP OPERATOR > (isbn, isbn);
DROP OPERATOR >= (isbn, isbn);
DROP OPERATOR = (isbn, isbn);
DROP OPERATOR <= (isbn, isbn);
DROP OPERATOR < (isbn, isbn);
DROP FUNCTION isbn_ne(isbn, isbn);
DROP FUNCTION isbn_gt(isbn, isbn);
DROP FUNCTION isbn_ge(isbn, isbn);
DROP FUNCTION isbn_eq(isbn, isbn);
DROP FUNCTION isbn_le(isbn, isbn);
DROP FUNCTION isbn_lt(isbn, isbn);
DROP TYPE isbn CASCADE;
DROP OPERATOR CLASS issn_ops USING btree;
DROP FUNCTION issn_cmp(issn, issn);
DROP OPERATOR <> (issn, issn);
DROP OPERATOR > (issn, issn);
DROP OPERATOR >= (issn, issn);
DROP OPERATOR = (issn, issn);
DROP OPERATOR <= (issn, issn);
DROP OPERATOR < (issn, issn);
DROP FUNCTION issn_ne(issn, issn);
DROP FUNCTION issn_gt(issn, issn);
DROP FUNCTION issn_ge(issn, issn);
DROP FUNCTION issn_eq(issn, issn);
DROP FUNCTION issn_le(issn, issn);
DROP FUNCTION issn_lt(issn, issn);
DROP TYPE issn CASCADE;