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

« back to all changes in this revision

Viewing changes to src/test/resources/cz/startnet/utils/pgdiff/loader/schema_6.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 standard_conforming_strings = off;
 
7
SET check_function_bodies = false;
 
8
SET client_min_messages = warning;
 
9
SET escape_string_warning = off;
 
10
 
 
11
--
 
12
-- Name: SCHEMA public; Type: COMMENT; Schema: -; Owner: postgres
 
13
--
 
14
 
 
15
COMMENT ON SCHEMA public IS 'Standard public schema';
 
16
 
 
17
 
 
18
--
 
19
-- Name: plpgsql; Type: PROCEDURAL LANGUAGE; Schema: -; Owner: postgres
 
20
--
 
21
 
 
22
CREATE PROCEDURAL LANGUAGE plpgsql;
 
23
 
 
24
 
 
25
SET search_path = public, pg_catalog;
 
26
 
 
27
SET default_tablespace = '';
 
28
 
 
29
SET default_with_oids = false;
 
30
 
 
31
--
 
32
-- Name: test_table; Type: TABLE; Schema: public; Owner: postgres; Tablespace: 
 
33
--
 
34
 
 
35
CREATE TABLE test_table (
 
36
    id bigint,
 
37
    date_deleted timestamp without time zone
 
38
);
 
39
 
 
40
 
 
41
ALTER TABLE public.test_table OWNER TO postgres;
 
42
 
 
43
--
 
44
-- Name: test_table_deleted; Type: INDEX; Schema: public; Owner: postgres; Tablespace: 
 
45
--
 
46
 
 
47
CREATE INDEX test_table_deleted ON test_table USING btree (date_deleted) WHERE (date_deleted IS NULL);
 
48
 
 
49
 
 
50
--
 
51
-- Name: public; Type: ACL; Schema: -; Owner: postgres
 
52
--
 
53
 
 
54
REVOKE ALL ON SCHEMA public FROM PUBLIC;
 
55
REVOKE ALL ON SCHEMA public FROM postgres;
 
56
GRANT ALL ON SCHEMA public TO postgres;
 
57
GRANT ALL ON SCHEMA public TO PUBLIC;
 
58
 
 
59
 
 
60
--
 
61
-- PostgreSQL database dump complete
 
62
--
 
63