postgresql/contrib/seg/uninstall_seg.sql
Tom Lane 9b5c8d45f6 Push index operator lossiness determination down to GIST/GIN opclass
"consistent" functions, and remove pg_amop.opreqcheck, as per recent
discussion.  The main immediate benefit of this is that we no longer need
8.3's ugly hack of requiring @@@ rather than @@ to test weight-using tsquery
searches on GIN indexes.  In future it should be possible to optimize some
other queries better than is done now, by detecting at runtime whether the
index match is exact or not.

Tom Lane, after an idea of Heikki's, and with some help from Teodor.
2008-04-14 17:05:34 +00:00

93 lines
1.7 KiB
SQL

/* $PostgreSQL: pgsql/contrib/seg/uninstall_seg.sql,v 1.6 2008/04/14 17:05:32 tgl Exp $ */
-- Adjust this setting to control where the objects get dropped.
SET search_path = public;
DROP OPERATOR CLASS gist_seg_ops USING gist;
DROP OPERATOR CLASS seg_ops USING btree;
DROP FUNCTION gseg_same(seg, seg, internal);
DROP FUNCTION gseg_union(internal, internal);
DROP FUNCTION gseg_picksplit(internal, internal);
DROP FUNCTION gseg_penalty(internal,internal,internal);
DROP FUNCTION gseg_decompress(internal);
DROP FUNCTION gseg_compress(internal);
DROP FUNCTION gseg_consistent(internal,seg,int,oid,internal);
DROP OPERATOR <@ (seg, seg);
DROP OPERATOR @> (seg, seg);
DROP OPERATOR ~ (seg, seg);
DROP OPERATOR @ (seg, seg);
DROP OPERATOR <> (seg, seg);
DROP OPERATOR = (seg, seg);
DROP OPERATOR >> (seg, seg);
DROP OPERATOR &> (seg, seg);
DROP OPERATOR && (seg, seg);
DROP OPERATOR &< (seg, seg);
DROP OPERATOR << (seg, seg);
DROP OPERATOR >= (seg, seg);
DROP OPERATOR > (seg, seg);
DROP OPERATOR <= (seg, seg);
DROP OPERATOR < (seg, seg);
DROP FUNCTION seg_lower(seg);
DROP FUNCTION seg_upper(seg);
DROP FUNCTION seg_size(seg);
DROP FUNCTION seg_inter(seg, seg);
DROP FUNCTION seg_union(seg, seg);
DROP FUNCTION seg_cmp(seg, seg);
DROP FUNCTION seg_different(seg, seg);
DROP FUNCTION seg_same(seg, seg);
DROP FUNCTION seg_overlap(seg, seg);
DROP FUNCTION seg_contained(seg, seg);
DROP FUNCTION seg_contains(seg, seg);
DROP FUNCTION seg_ge(seg, seg);
DROP FUNCTION seg_gt(seg, seg);
DROP FUNCTION seg_le(seg, seg);
DROP FUNCTION seg_lt(seg, seg);
DROP FUNCTION seg_right(seg, seg);
DROP FUNCTION seg_left(seg, seg);
DROP FUNCTION seg_over_right(seg, seg);
DROP FUNCTION seg_over_left(seg, seg);
DROP TYPE seg CASCADE;