Code

088309cd113fc9dfbc267ef80157243c5816b965
[postrr.git] / src / uninstall_postrr.sql
1 -- PostRR - src/uninstall_postrr.sql
2 -- Copyright (C) 2012 Sebastian 'tokkee' Harl <sh@tokkee.org>
3 -- All rights reserved.
4 --
5 -- Redistribution and use in source and binary forms, with or without
6 -- modification, are permitted provided that the following conditions
7 -- are met:
8 -- 1. Redistributions of source code must retain the above copyright
9 --    notice, this list of conditions and the following disclaimer.
10 -- 2. Redistributions in binary form must reproduce the above copyright
11 --    notice, this list of conditions and the following disclaimer in the
12 --    documentation and/or other materials provided with the distribution.
13 --
14 -- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
15 -- ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
16 -- TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
17 -- PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR
18 -- CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
19 -- EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
20 -- PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
21 -- OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
22 -- WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
23 -- OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
24 -- ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
26 --
27 -- PostRR - PostgreSQL Round-Robin Extension
28 --
30 SET client_min_messages TO WARNING;
32 DROP FUNCTION IF EXISTS RRTimeslice_validate(integer);
34 DROP CAST IF EXISTS (rrtimeslice AS rrtimeslice);
35 DROP FUNCTION IF EXISTS RRTimeslice(rrtimeslice, integer, boolean);
36 DROP CAST IF EXISTS (rrtimeslice AS timestamp);
37 DROP FUNCTION IF EXISTS Tstamp(rrtimeslice);
38 DROP TYPE RRTimeslice CASCADE;
39 DROP FUNCTION IF EXISTS RRTimeslice_typmodin(cstring[]);
40 DROP FUNCTION IF EXISTS RRTimeslice_typmodout(integer);
42 DROP FUNCTION IF EXISTS CData_validate(integer);
44 DROP CAST IF EXISTS (cdata AS cdata);
45 DROP FUNCTION IF EXISTS CData(cdata, integer, boolean);
46 DROP TYPE CData CASCADE;
47 DROP FUNCTION IF EXISTS CData_typmodin(cstring[]);
48 DROP FUNCTION IF EXISTS CData_typmodout(integer);
50 DROP FUNCTION IF EXISTS PostRR_Version();
52 DROP TABLE postrr.rrtimeslices;
53 DROP SEQUENCE postrr.tsid;
55 DROP TABLE postrr.rrarchives;
57 DROP SCHEMA postrr;
59 SET client_min_messages TO DEFAULT;
61 -- vim: set tw=78 sw=4 ts=4 noexpandtab :