/
githubmirror
/
sqlc
Обзор
Документация
Войти
/
githubmirror
/
sqlc
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
internal/endtoend/testdata/pg_dump/schema.sql
92 строки
2 KB
Kyle Gray
Strip psql meta-commands from schema files (fixes #4065) (#4390)
19 апр 2026, 18:46
Не верифицирован
19 апр 2026, 18:46
394bdc7
Код
Авторство
О чём код?
-- -- PostgreSQL database dump -- -- Dumped from database version 15.3 (Debian 15.3-1.pgdg120+1) -- Dumped by pg_dump version 15.3 \restrict auwherpfqaiuwrhgp 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: public; Type: SCHEMA; Schema: -; Owner: pg_database_owner -- CREATE SCHEMA public; ALTER SCHEMA public OWNER TO pg_database_owner; -- -- Name: SCHEMA public; Type: COMMENT; Schema: -; Owner: pg_database_owner -- COMMENT ON SCHEMA public IS 'standard public schema'; SET default_table_access_method = heap; -- -- Name: authors; Type: TABLE; Schema: public; Owner: postgres -- CREATE TABLE public.authors ( id bigint NOT NULL, name text NOT NULL, bio text ); ALTER TABLE public.authors OWNER TO postgres; -- -- Name: authors_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres -- CREATE SEQUENCE public.authors_id_seq START WITH 1 INCREMENT BY 1 NO MINVALUE NO MAXVALUE CACHE 1; ALTER TABLE public.authors_id_seq OWNER TO postgres; -- -- Name: authors_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: postgres -- ALTER SEQUENCE public.authors_id_seq OWNED BY public.authors.id; -- -- Name: authors id; Type: DEFAULT; Schema: public; Owner: postgres -- ALTER TABLE ONLY public.authors ALTER COLUMN id SET DEFAULT nextval('public.authors_id_seq'::regclass); -- -- Name: authors authors_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres -- ALTER TABLE ONLY public.authors ADD CONSTRAINT authors_pkey PRIMARY KEY (id); \unrestrict auwherpfqaiuwrhgp -- -- PostgreSQL database dump complete --