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

« back to all changes in this revision

Viewing changes to src/test/resources/cz/startnet/utils/pgdiff/modify_column_type_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
SET search_path = public, pg_catalog;
 
17
 
 
18
SET default_tablespace = '';
 
19
 
 
20
SET default_with_oids = false;
 
21
 
 
22
--
 
23
-- Name: testtable; Type: TABLE; Schema: public; Owner: fordfrog; Tablespace: 
 
24
--
 
25
 
 
26
CREATE TABLE testtable (
 
27
    field1 integer,
 
28
    field2 integer,
 
29
    field3 character varying(150) DEFAULT 'none'::character varying,
 
30
    field4 double precision
 
31
);
 
32
 
 
33
 
 
34
ALTER TABLE public.testtable OWNER TO fordfrog;
 
35
 
 
36
--
 
37
-- Name: public; Type: ACL; Schema: -; Owner: postgres
 
38
--
 
39
 
 
40
REVOKE ALL ON SCHEMA public FROM PUBLIC;
 
41
REVOKE ALL ON SCHEMA public FROM postgres;
 
42
GRANT ALL ON SCHEMA public TO postgres;
 
43
GRANT ALL ON SCHEMA public TO PUBLIC;
 
44
 
 
45
 
 
46
--
 
47
-- PostgreSQL database dump complete
 
48
--
 
49