mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-08-23 03:30:41 +02:00
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.
36 lines
666 B
PL/PgSQL
36 lines
666 B
PL/PgSQL
SET search_path = public;
|
|
|
|
BEGIN;
|
|
|
|
DROP OPERATOR CLASS gist_trgm_ops USING gist;
|
|
|
|
DROP FUNCTION gtrgm_same(gtrgm, gtrgm, internal);
|
|
|
|
DROP FUNCTION gtrgm_union(bytea, internal);
|
|
|
|
DROP FUNCTION gtrgm_picksplit(internal, internal);
|
|
|
|
DROP FUNCTION gtrgm_penalty(internal,internal,internal);
|
|
|
|
DROP FUNCTION gtrgm_decompress(internal);
|
|
|
|
DROP FUNCTION gtrgm_compress(internal);
|
|
|
|
DROP FUNCTION gtrgm_consistent(gtrgm,internal,int4);
|
|
|
|
DROP TYPE gtrgm CASCADE;
|
|
|
|
DROP OPERATOR % (text, text);
|
|
|
|
DROP FUNCTION similarity_op(text,text);
|
|
|
|
DROP FUNCTION similarity(text,text);
|
|
|
|
DROP FUNCTION show_trgm(text);
|
|
|
|
DROP FUNCTION show_limit();
|
|
|
|
DROP FUNCTION set_limit(float4);
|
|
|
|
COMMIT;
|