Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dedupe CREATE SCHEMA PUBLIC statements #265

Closed
wants to merge 1 commit into from

Conversation

jschaf
Copy link

@jschaf jschaf commented Jan 28, 2020

Previously, the CreateSchemaParser blindly added a schema. Instead,
only add the schema if it's not public. For additional safety, throw
an error if a user tries to add a schema that already exists.

Fixes #264

Previously, the CreateSchemaParser blindly added a schema. Instead,
only add the schema if it's not `public`. For additional safety, throw
an error if a user tries to add a schema that already exists.
@jschaf
Copy link
Author

jschaf commented Aug 6, 2020

Meh, giving up.

@jschaf jschaf closed this Aug 6, 2020
jalissonmello pushed a commit to jalissonmello/apgdiff that referenced this pull request Aug 21, 2020
jalissonmello pushed a commit to jalissonmello/apgdiff that referenced this pull request Aug 21, 2020
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.

Diffing the same file results in DROP TABLE
1 participant