mirror of
https://github.com/postgres/postgres.git
synced 2025-07-28 23:42:10 +03:00
contrib uninstall scripts
by David Fetter
This commit is contained in:
@ -5,6 +5,7 @@ MODULE_big = pg_trgm
|
||||
OBJS = trgm_op.o trgm_gist.o
|
||||
|
||||
DATA_built = pg_trgm.sql
|
||||
DATA = uninstall_pg_trgm.sql
|
||||
DOCS = README.pg_trgm
|
||||
REGRESS = pg_trgm
|
||||
|
||||
|
39
contrib/pg_trgm/uninstall_pg_trgm.sql
Normal file
39
contrib/pg_trgm/uninstall_pg_trgm.sql
Normal file
@ -0,0 +1,39 @@
|
||||
SET search_path = public;
|
||||
|
||||
BEGIN;
|
||||
|
||||
DROP OPERATOR CLASS gist_trgm_ops;
|
||||
|
||||
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;
|
||||
|
||||
DROP FUNCTION gtrgm_out(gtrgm);
|
||||
|
||||
DROP FUNCTION gtrgm_in(cstring);
|
||||
|
||||
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;
|
Reference in New Issue
Block a user