~ubuntu-branches/ubuntu/raring/apgdiff/raring

« back to all changes in this revision

Viewing changes to src/test/resources/cz/startnet/utils/pgdiff/drop_trigger_new.sql

  • Committer: Bazaar Package Importer
  • Author(s): Christoph Berg
  • Date: 2008-09-09 15:42:54 UTC
  • Revision ID: james.westby@ubuntu.com-20080909154254-458sv7ew1rczdal1
Tags: upstream-1.2
ImportĀ upstreamĀ versionĀ 1.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
--
 
2
-- PostgreSQL database dump
 
3
--
 
4
 
 
5
SET client_encoding = 'UTF8';
 
6
SET check_function_bodies = false;
 
7
SET client_min_messages = warning;
 
8
 
 
9
--
 
10
-- Name: SCHEMA public; Type: COMMENT; Schema: -; Owner: postgres
 
11
--
 
12
 
 
13
COMMENT ON SCHEMA public IS 'Standard public schema';
 
14
 
 
15
 
 
16
--
 
17
-- Name: plpgsql; Type: PROCEDURAL LANGUAGE; Schema: -; Owner: 
 
18
--
 
19
 
 
20
CREATE PROCEDURAL LANGUAGE plpgsql;
 
21
 
 
22
 
 
23
SET search_path = public, pg_catalog;
 
24
 
 
25
--
 
26
-- Name: test_table_trigger(); Type: FUNCTION; Schema: public; Owner: fordfrog
 
27
--
 
28
 
 
29
CREATE FUNCTION test_table_trigger() RETURNS "trigger"
 
30
    AS $$
 
31
begin
 
32
        return NEW;
 
33
end;
 
34
$$
 
35
    LANGUAGE plpgsql;
 
36
 
 
37
 
 
38
ALTER FUNCTION public.test_table_trigger() OWNER TO fordfrog;
 
39
 
 
40
SET default_tablespace = '';
 
41
 
 
42
SET default_with_oids = false;
 
43
 
 
44
--
 
45
-- Name: test_table; Type: TABLE; Schema: public; Owner: fordfrog; Tablespace: 
 
46
--
 
47
 
 
48
CREATE TABLE test_table (
 
49
    id serial NOT NULL
 
50
);
 
51
 
 
52
 
 
53
ALTER TABLE public.test_table OWNER TO fordfrog;
 
54
 
 
55
--
 
56
-- Name: public; Type: ACL; Schema: -; Owner: postgres
 
57
--
 
58
 
 
59
REVOKE ALL ON SCHEMA public FROM PUBLIC;
 
60
REVOKE ALL ON SCHEMA public FROM postgres;
 
61
GRANT ALL ON SCHEMA public TO postgres;
 
62
GRANT ALL ON SCHEMA public TO PUBLIC;
 
63
 
 
64
 
 
65
--
 
66
-- PostgreSQL database dump complete
 
67
--
 
68