mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-12-21 08:29:39 +08:00
48fb696753
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.
62 lines
1.0 KiB
SQL
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;
|