]> pd.if.org Git - uuid/blob - postgres/uninstall-uuid.sql
Initial commit
[uuid] / postgres / uninstall-uuid.sql
1 -- uuid support function uninstall script
2 -- written by nathan wagner and placed in the public domain
3
4 drop function uuid_v1();
5 drop function uuid_v1mc();
6 drop function uuid_v3(uuid, text);
7 drop function uuid_v4();
8 drop function uuid_v5(uuid, text);
9 drop function uuid_recent();
10 drop function uuid_nil();
11 drop function uuid_ns_dns();
12 drop function uuid_ns_oid();
13 drop function uuid_ns_url();
14 drop function uuid_ns_x500();
15 drop function uuid_url(text);
16 drop function uuid_dns(text);
17 drop function uuid_oid(text);
18 drop function uuid_x500(text);
19
20 -- Casts
21
22 -- Bytea
23
24 drop cast if exists (uuid as bytea);
25 drop cast if exists (bytea as uuid);
26 drop function uuid_bytea_cast(uuid);
27 drop function uuid_bytea_uncast(bytea);
28
29 -- Numeric
30
31 drop cast if exists (uuid as numeric);
32 drop cast if exists (numeric as uuid);
33 drop function uuid_numeric_cast(uuid);
34 drop function uuid_numeric_uncast(numeric);
35
36 -- Bit and bit varying
37
38 drop cast if exists (uuid as bit(128));
39 drop cast if exists (uuid as bit varying);
40 drop cast if exists (bit(128) as uuid);
41 drop cast if exists (bit varying as uuid);
42
43 drop function uuid_bit_cast(uuid);
44 drop function uuid_bit_uncast(bit(128));
45
46 -- Field extraction functions
47
48 drop function uuid_version(uuid);
49 drop function uuid_macaddr(uuid);
50 drop function uuid_timestamp(uuid);
51 drop function uuid_timestamptz(uuid);