postgresql/contrib/cube/uninstall_cube.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

99 lines
2.0 KiB
SQL

/* $PostgreSQL: pgsql/contrib/cube/uninstall_cube.sql,v 1.8 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_cube_ops USING gist;
DROP OPERATOR CLASS cube_ops USING btree;
DROP FUNCTION g_cube_same(cube, cube, internal);
DROP FUNCTION g_cube_union(internal, internal);
DROP FUNCTION g_cube_picksplit(internal, internal);
DROP FUNCTION g_cube_penalty(internal,internal,internal);
DROP FUNCTION g_cube_decompress(internal);
DROP FUNCTION g_cube_compress(internal);
DROP FUNCTION g_cube_consistent(internal,cube,int,oid,internal);
DROP OPERATOR ~ (cube, cube);
DROP OPERATOR @ (cube, cube);
DROP OPERATOR <@ (cube, cube);
DROP OPERATOR @> (cube, cube);
DROP OPERATOR <> (cube, cube);
DROP OPERATOR = (cube, cube);
DROP OPERATOR && (cube, cube);
DROP OPERATOR >= (cube, cube);
DROP OPERATOR <= (cube, cube);
DROP OPERATOR > (cube, cube);
DROP OPERATOR < (cube, cube);
DROP FUNCTION cube_enlarge(cube, float8, int4);
DROP FUNCTION cube_is_point(cube);
DROP FUNCTION cube(cube, float8, float8);
DROP FUNCTION cube(cube, float8);
DROP FUNCTION cube(float8, float8);
DROP FUNCTION cube(float8[], float8[]);
DROP FUNCTION cube(float8[]);
DROP FUNCTION cube_subset(cube, int4[]);
DROP FUNCTION cube(float8);
DROP FUNCTION cube_ur_coord(cube, int4);
DROP FUNCTION cube_ll_coord(cube, int4);
DROP FUNCTION cube_dim(cube);
DROP FUNCTION cube_distance(cube, cube);
DROP FUNCTION cube_size(cube);
DROP FUNCTION cube_inter(cube, cube);
DROP FUNCTION cube_union(cube, cube);
DROP FUNCTION cube_overlap(cube, cube);
DROP FUNCTION cube_contained(cube, cube);
DROP FUNCTION cube_contains(cube, cube);
DROP FUNCTION cube_cmp(cube, cube);
DROP FUNCTION cube_ge(cube, cube);
DROP FUNCTION cube_le(cube, cube);
DROP FUNCTION cube_gt(cube, cube);
DROP FUNCTION cube_lt(cube, cube);
DROP FUNCTION cube_ne(cube, cube);
DROP FUNCTION cube_eq(cube, cube);
DROP TYPE cube CASCADE;