postgresql/contrib/seg/uninstall_seg.sql
Alvaro Herrera 7861d72ea2 Modify the float4 datatype to be pass-by-val. Along the way, remove the last
uses of the long-deprecated float32 in contrib/seg; the definitions themselves
are still there, but no longer used.  fmgr/README updated to match.

I added a CREATE FUNCTION to account for existing seg_center() code in seg.c
too, and some tests for it and the neighbor functions.  At the same time,
remove checks for NULL which are not needed (because the functions are declared
STRICT).

I had to do some adjustments to contrib's btree_gist too.  The choices for
representation there are not ideal for changing the underlying types :-(

Original patch by Zoltan Boszormenyi, with some adjustments by me.
2008-04-18 18:43:09 +00:00

95 lines
1.8 KiB
SQL

/* $PostgreSQL: pgsql/contrib/seg/uninstall_seg.sql,v 1.7 2008/04/18 18:43:08 alvherre 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 seq_center(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;