-- -- PostgreSQL database dump -- -- Dumped from database version 9.5.3 -- Dumped by pg_dump version 9.5.1 SET statement_timeout = 0; SET lock_timeout = 0; SET client_encoding = 'UTF8'; SET standard_conforming_strings = on; SET check_function_bodies = false; SET client_min_messages = warning; SET row_security = off; -- -- 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'; SET search_path = public, pg_catalog; -- -- Name: count_clients(); Type: FUNCTION; Schema: public; Owner: pivotal -- CREATE FUNCTION count_clients() RETURNS integer LANGUAGE plpgsql AS $$begin select count(*) from clients; end;$$; ALTER FUNCTION public.count_clients() OWNER TO pivotal; SET default_tablespace = ''; SET default_with_oids = false; -- -- Name: clients; Type: TABLE; Schema: public; Owner: pivotal -- CREATE TABLE clients ( id integer NOT NULL, name character varying(255) ); ALTER TABLE clients OWNER TO pivotal; -- -- Name: clients_id_seq; Type: SEQUENCE; Schema: public; Owner: pivotal -- CREATE SEQUENCE clients_id_seq START WITH 1 INCREMENT BY 1 NO MINVALUE NO MAXVALUE CACHE 1; ALTER TABLE clients_id_seq OWNER TO pivotal; -- -- Name: clients_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: pivotal -- ALTER SEQUENCE clients_id_seq OWNED BY clients.id; -- -- Name: id; Type: DEFAULT; Schema: public; Owner: pivotal -- ALTER TABLE ONLY clients ALTER COLUMN id SET DEFAULT nextval('clients_id_seq'::regclass); -- -- Name: pk_clients; Type: CONSTRAINT; Schema: public; Owner: pivotal -- ALTER TABLE ONLY clients ADD CONSTRAINT pk_clients PRIMARY KEY (id); -- -- 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; -- -- PostgreSQL database dump complete --