Skip to content

Conversation

@kyleconroy
Copy link
Collaborator

CREATE SCHEMA <default_schema> will be treated as CREATE SCHEMA IF NOT EXISTS <default_schema> to support pg_dump output.

Fixes #1550

CREATE SCHEMA <default_schema> will be treated as CREATE SCHEMA IF NOT
EXISTS <default_schema> to support pg_dump output.
@kyleconroy kyleconroy merged commit 51f1808 into main Jul 24, 2023
@kyleconroy kyleconroy deleted the kyle/create-default-schema-noop branch July 24, 2023 18:50
alfonsodev pushed a commit to ExponentiaTeam/sqlc that referenced this pull request Oct 13, 2025
CREATE SCHEMA <default_schema> will be treated as CREATE SCHEMA IF NOT
EXISTS <default_schema> to support pg_dump output.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Cannot generate from pg_dump output: schema "public" already exists

3 participants