--
--


--
-- Name: plpgsql; Type: EXTENSION; Schema: -; Owner: 
--

CREATE EXTENSION IF NOT EXISTS plpgsql WITH SCHEMA pg_catalog;


--
-- Name: EXTENSION plpgsql; Type: COMMENT; Schema: -; Owner: 
--

COMMENT ON EXTENSION plpgsql IS 'PL/pgSQL procedural language';





--
-- Name: dbtable; Type: TABLE; Schema: public; Owner: master; Tablespace: 
--

CREATE TABLE dbtable (
    field1 text NOT NULL,
    field2 integer,
    field3 integer,
    field4 boolean
);


ALTER TABLE public.dbtable OWNER TO master;

--
-- Data for Name: dbtable; Type: TABLE DATA; Schema: public; Owner: master
--

COPY dbtable (field1, field2, field3, field4) FROM stdin;
sleutel	5	18	f
key	1	42	t
\.


--
-- Name: dbtable_pkey; Type: CONSTRAINT; Schema: public; Owner: master; Tablespace: 
--

ALTER TABLE ONLY dbtable
    ADD CONSTRAINT dbtable_pkey PRIMARY KEY (field1);


--
-- Name: public; Type: ACL; Schema: -; Owner: postgres
--

REVOKE ALL ON SCHEMA public FROM PUBLIC;
REVOKE ALL ON SCHEMA public FROM postgres;
GRANT ALL ON SCHEMA public TO postgres;
GRANT ALL ON SCHEMA public TO PUBLIC;


--
-- Name: dbtable; Type: ACL; Schema: public; Owner: master
--

REVOKE ALL ON TABLE dbtable FROM PUBLIC;
REVOKE ALL ON TABLE dbtable FROM master;
GRANT ALL ON TABLE dbtable TO master;


--
--

