mirror of
https://github.com/postgres/postgres.git
synced 2025-04-24 10:47:04 +03:00
Add uninstall script
This commit is contained in:
parent
d3f54c7907
commit
67e7f0ab34
@ -9,6 +9,7 @@ MODULE_big = hstore
|
|||||||
OBJS = hstore_io.o hstore_op.o hstore_gist.o crc32.o
|
OBJS = hstore_io.o hstore_op.o hstore_gist.o crc32.o
|
||||||
|
|
||||||
DATA_built = hstore.sql
|
DATA_built = hstore.sql
|
||||||
|
DATA = uninstall_hstore.sql
|
||||||
DOCS = README.hstore
|
DOCS = README.hstore
|
||||||
REGRESS = hstore
|
REGRESS = hstore
|
||||||
|
|
||||||
|
39
contrib/hstore/uninstall_hstore.sql
Normal file
39
contrib/hstore/uninstall_hstore.sql
Normal file
@ -0,0 +1,39 @@
|
|||||||
|
BEGIN;
|
||||||
|
|
||||||
|
DROP OPERATOR CLASS gist_hstore_ops USING gist CASCADE;
|
||||||
|
|
||||||
|
DROP OPERATOR ->( hstore, text );
|
||||||
|
DROP OPERATOR ||( hstore, hstore );
|
||||||
|
DROP OPERATOR @>( hstore, hstore );
|
||||||
|
DROP OPERATOR <@( hstore, hstore );
|
||||||
|
DROP OPERATOR @( hstore, hstore );
|
||||||
|
DROP OPERATOR ~( hstore, hstore );
|
||||||
|
DROP OPERATOR =>( text, text );
|
||||||
|
|
||||||
|
|
||||||
|
DROP FUNCTION fetchval(hstore,text);
|
||||||
|
DROP FUNCTION isexists(hstore,text);
|
||||||
|
DROP FUNCTION isdefined(hstore,text);
|
||||||
|
DROP FUNCTION delete(hstore,text);
|
||||||
|
DROP FUNCTION hs_concat(hstore,hstore);
|
||||||
|
DROP FUNCTION hs_contains(hstore,hstore);
|
||||||
|
DROP FUNCTION hs_contained(hstore,hstore);
|
||||||
|
DROP FUNCTION tconvert(text,text);
|
||||||
|
DROP FUNCTION akeys(hstore);
|
||||||
|
DROP FUNCTION avals(hstore);
|
||||||
|
DROP FUNCTION skeys(hstore);
|
||||||
|
DROP FUNCTION svals(hstore);
|
||||||
|
DROP FUNCTION each(hstore);
|
||||||
|
DROP FUNCTION ghstore_compress(internal);
|
||||||
|
DROP FUNCTION ghstore_decompress(internal);
|
||||||
|
DROP FUNCTION ghstore_penalty(internal,internal,internal);
|
||||||
|
DROP FUNCTION ghstore_picksplit(internal, internal);
|
||||||
|
DROP FUNCTION ghstore_union(internal, internal);
|
||||||
|
DROP FUNCTION ghstore_same(internal, internal, internal);
|
||||||
|
DROP FUNCTION ghstore_consistent(internal,internal,int4);
|
||||||
|
|
||||||
|
DROP TYPE hstore CASCADE;
|
||||||
|
DROP TYPE hs_each CASCADE;
|
||||||
|
DROP TYPE ghstore CASCADE;
|
||||||
|
|
||||||
|
COMMIT;
|
Loading…
x
Reference in New Issue
Block a user