postgresql/contrib/cube/uninstall_cube.sql
Neil Conway 48fb696753 Fix a number of syntax errors in contrib modules' uninstall scripts.
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.
2006-03-13 18:04:58 +00:00

90 lines
1.7 KiB
SQL

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,int4);
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);
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 CAST (text AS cube);
DROP FUNCTION cube(text);
DROP TYPE cube CASCADE;