mirror of
https://git.postgresql.org/git/postgresql.git
synced 2025-01-12 18:34:36 +08:00
42be2c790f
by putting it into the standard string category, we cause casts from citext to text to be recognized as "preferred" casts. This eliminates the need for creation of alias functions and operators that only serve to prevent ambiguous-function errors; get rid of the ones that were in the original commit.
65 lines
2.1 KiB
SQL
65 lines
2.1 KiB
SQL
/* $PostgreSQL: pgsql/contrib/citext/uninstall_citext.sql,v 1.2 2008/07/30 17:08:52 tgl Exp $ */
|
|
|
|
-- Adjust this setting to control where the objects get dropped.
|
|
SET search_path = public;
|
|
|
|
DROP OPERATOR CLASS citext_ops USING btree CASCADE;
|
|
DROP OPERATOR CLASS citext_ops USING hash CASCADE;
|
|
|
|
DROP AGGREGATE min(citext);
|
|
DROP AGGREGATE max(citext);
|
|
|
|
DROP OPERATOR = (citext, citext);
|
|
DROP OPERATOR <> (citext, citext);
|
|
DROP OPERATOR < (citext, citext);
|
|
DROP OPERATOR <= (citext, citext);
|
|
DROP OPERATOR >= (citext, citext);
|
|
DROP OPERATOR > (citext, citext);
|
|
|
|
DROP OPERATOR ~ (citext, citext);
|
|
DROP OPERATOR ~* (citext, citext);
|
|
DROP OPERATOR !~ (citext, citext);
|
|
DROP OPERATOR !~* (citext, citext);
|
|
DROP OPERATOR ~~ (citext, citext);
|
|
DROP OPERATOR ~~* (citext, citext);
|
|
DROP OPERATOR !~~ (citext, citext);
|
|
DROP OPERATOR !~~* (citext, citext);
|
|
|
|
DROP OPERATOR ~ (citext, text);
|
|
DROP OPERATOR ~* (citext, text);
|
|
DROP OPERATOR !~ (citext, text);
|
|
DROP OPERATOR !~* (citext, text);
|
|
DROP OPERATOR ~~ (citext, text);
|
|
DROP OPERATOR ~~* (citext, text);
|
|
DROP OPERATOR !~~ (citext, text);
|
|
DROP OPERATOR !~~* (citext, text);
|
|
|
|
DROP CAST (citext AS text);
|
|
DROP CAST (citext AS varchar);
|
|
DROP CAST (citext AS bpchar);
|
|
DROP CAST (text AS citext);
|
|
DROP CAST (varchar AS citext);
|
|
DROP CAST (bpchar AS citext);
|
|
|
|
DROP FUNCTION citext(bpchar);
|
|
DROP FUNCTION citext_eq(citext, citext);
|
|
DROP FUNCTION citext_ne(citext, citext);
|
|
DROP FUNCTION citext_lt(citext, citext);
|
|
DROP FUNCTION citext_le(citext, citext);
|
|
DROP FUNCTION citext_gt(citext, citext);
|
|
DROP FUNCTION citext_ge(citext, citext);
|
|
DROP FUNCTION citext_cmp(citext, citext);
|
|
DROP FUNCTION citext_hash(citext);
|
|
DROP FUNCTION citext_smaller(citext, citext);
|
|
DROP FUNCTION citext_larger(citext, citext);
|
|
DROP FUNCTION texticlike(citext, citext);
|
|
DROP FUNCTION texticnlike(citext, citext);
|
|
DROP FUNCTION texticregexeq(citext, citext);
|
|
DROP FUNCTION texticregexne(citext, citext);
|
|
DROP FUNCTION texticlike(citext, text);
|
|
DROP FUNCTION texticnlike(citext, text);
|
|
DROP FUNCTION texticregexeq(citext, text);
|
|
DROP FUNCTION texticregexne(citext, text);
|
|
|
|
DROP TYPE citext CASCADE;
|