Primes.sql
This is the code the create primes schema in the database.
--
-- PostgreSQL database dump
--
-- Dumped from database version 11.22 (Debian 11.22-0+deb10u2)
-- Dumped by pg_dump version 11.22 (Debian 11.22-0+deb10u2)
SET statement_timeout = 0;
SET lock_timeout = 0;
SET idle_in_transaction_session_timeout = 0;
SET client_encoding = 'UTF8';
SET standard_conforming_strings = on;
SELECT pg_catalog.set_config('search_path', '', false);
SET check_function_bodies = false;
SET xmloption = content;
SET client_min_messages = warning;
SET row_security = off;
--
-- Name: primes; Type: SCHEMA; Schema: -; Owner: primes_user
--
CREATE SCHEMA primes;
ALTER SCHEMA primes OWNER TO primes_user;
--
-- Name: asc_ident; Type: SEQUENCE; Schema: primes; Owner: primes_user
--
CREATE SEQUENCE primes.asc_ident
AS integer
START WITH 1
INCREMENT BY 1
NO MINVALUE
NO MAXVALUE
CACHE 1;
ALTER TABLE primes.asc_ident OWNER TO primes_user;
SET default_tablespace = '';
SET default_with_oids = false;
--
-- Name: primes; Type: TABLE; Schema: primes; Owner: primes_user
--
CREATE TABLE primes.primes (
ident integer DEFAULT nextval('primes.asc_ident'::regclass),
prime integer
);
ALTER TABLE primes.primes OWNER TO primes_user;
--
-- PostgreSQL database dump complete
--
Terug naar: primes