Skip to content

Commit 67e7f0a

Browse files
committed
Add uninstall script
1 parent d3f54c7 commit 67e7f0a

File tree

2 files changed

+40
-0
lines changed

2 files changed

+40
-0
lines changed

contrib/hstore/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ MODULE_big = hstore
99
OBJS = hstore_io.o hstore_op.o hstore_gist.o crc32.o
1010

1111
DATA_built = hstore.sql
12+
DATA = uninstall_hstore.sql
1213
DOCS = README.hstore
1314
REGRESS = hstore
1415

contrib/hstore/uninstall_hstore.sql

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
BEGIN;
2+
3+
DROP OPERATOR CLASS gist_hstore_ops USING gist CASCADE;
4+
5+
DROP OPERATOR ->( hstore, text );
6+
DROP OPERATOR ||( hstore, hstore );
7+
DROP OPERATOR @>( hstore, hstore );
8+
DROP OPERATOR <@( hstore, hstore );
9+
DROP OPERATOR @( hstore, hstore );
10+
DROP OPERATOR ~( hstore, hstore );
11+
DROP OPERATOR =>( text, text );
12+
13+
14+
DROP FUNCTION fetchval(hstore,text);
15+
DROP FUNCTION isexists(hstore,text);
16+
DROP FUNCTION isdefined(hstore,text);
17+
DROP FUNCTION delete(hstore,text);
18+
DROP FUNCTION hs_concat(hstore,hstore);
19+
DROP FUNCTION hs_contains(hstore,hstore);
20+
DROP FUNCTION hs_contained(hstore,hstore);
21+
DROP FUNCTION tconvert(text,text);
22+
DROP FUNCTION akeys(hstore);
23+
DROP FUNCTION avals(hstore);
24+
DROP FUNCTION skeys(hstore);
25+
DROP FUNCTION svals(hstore);
26+
DROP FUNCTION each(hstore);
27+
DROP FUNCTION ghstore_compress(internal);
28+
DROP FUNCTION ghstore_decompress(internal);
29+
DROP FUNCTION ghstore_penalty(internal,internal,internal);
30+
DROP FUNCTION ghstore_picksplit(internal, internal);
31+
DROP FUNCTION ghstore_union(internal, internal);
32+
DROP FUNCTION ghstore_same(internal, internal, internal);
33+
DROP FUNCTION ghstore_consistent(internal,internal,int4);
34+
35+
DROP TYPE hstore CASCADE;
36+
DROP TYPE hs_each CASCADE;
37+
DROP TYPE ghstore CASCADE;
38+
39+
COMMIT;

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy