· 9 years ago · Oct 12, 2016, 10:18 PM
1--
2-- PostgreSQL database dump
3--
4
5-- Dumped from database version 9.5.4
6-- Dumped by pg_dump version 9.5.4
7
8SET statement_timeout = 0;
9SET lock_timeout = 0;
10SET client_encoding = 'UTF8';
11SET standard_conforming_strings = on;
12SET check_function_bodies = false;
13SET client_min_messages = warning;
14SET row_security = off;
15
16--
17-- Name: plpgsql; Type: EXTENSION; Schema: -; Owner:
18--
19
20CREATE EXTENSION IF NOT EXISTS plpgsql WITH SCHEMA pg_catalog;
21
22
23--
24-- Name: EXTENSION plpgsql; Type: COMMENT; Schema: -; Owner:
25--
26
27COMMENT ON EXTENSION plpgsql IS 'PL/pgSQL procedural language';
28
29
30SET search_path = public, pg_catalog;
31
32SET default_tablespace = '';
33
34SET default_with_oids = false;
35
36--
37-- Name: test_table1; Type: TABLE; Schema: public; Owner: postgres
38--
39
40CREATE TABLE test_table1 (
41 col1 integer,
42 col2 character varying
43);
44
45
46ALTER TABLE test_table1 OWNER TO postgres;
47
48--
49-- Name: public; Type: ACL; Schema: -; Owner: postgres
50--
51
52REVOKE ALL ON SCHEMA public FROM PUBLIC;
53REVOKE ALL ON SCHEMA public FROM postgres;
54GRANT ALL ON SCHEMA public TO postgres;
55GRANT ALL ON SCHEMA public TO PUBLIC;
56GRANT CREATE ON SCHEMA public TO test_user;
57
58
59--
60-- PostgreSQL database dump complete
61--