~ubuntu-branches/ubuntu/karmic/apgdiff/karmic

« back to all changes in this revision

Viewing changes to src/test/resources/cz/startnet/utils/pgdiff/read_inherits_original.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
SET search_path = public, pg_catalog;
 
17
 
 
18
SET default_tablespace = '';
 
19
 
 
20
SET default_with_oids = false;
 
21
 
 
22
--
 
23
-- Name: parenttable; Type: TABLE; Schema: public; Owner: fordfrog; Tablespace: 
 
24
--
 
25
 
 
26
CREATE TABLE parenttable (
 
27
    id bigserial NOT NULL
 
28
);
 
29
 
 
30
 
 
31
ALTER TABLE public.parenttable OWNER TO fordfrog;
 
32
 
 
33
--
 
34
-- Name: testtable; Type: TABLE; Schema: public; Owner: fordfrog; Tablespace: 
 
35
--
 
36
 
 
37
CREATE TABLE testtable (
 
38
    field1 bit(1)
 
39
)
 
40
INHERITS (parenttable);
 
41
 
 
42
 
 
43
ALTER TABLE public.testtable OWNER TO fordfrog;
 
44
 
 
45
--
 
46
-- Name: public; Type: ACL; Schema: -; Owner: postgres
 
47
--
 
48
 
 
49
REVOKE ALL ON SCHEMA public FROM PUBLIC;
 
50
REVOKE ALL ON SCHEMA public FROM postgres;
 
51
GRANT ALL ON SCHEMA public TO postgres;
 
52
GRANT ALL ON SCHEMA public TO PUBLIC;
 
53
 
 
54
 
 
55
--
 
56
-- PostgreSQL database dump complete
 
57
--
 
58