Skip to content

Support DROP CONSTRAINT [ IF EXISTS ] <name> [ CASCADE ] #396

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

Merged
merged 2 commits into from
Feb 8, 2022

Conversation

tvallotton
Copy link
Contributor

@tvallotton tvallotton commented Dec 28, 2021

Support for the following syntax DROP CONSTRAINT [ IF EXISTS ] <name> [ CASCADE ]. PostgreSQL's seems to support the syntax DROP CONSTRAINT [ IF EXISTS ] <name> [ RESTRICT | CASCADE ], but that didn't seem to be consistent with other parts of the AST so I left it like that.

Addressing #342.

@tvallotton tvallotton changed the title ALTER TABLE <table>DROP CONSTRAINT [ IF EXISTS ] <name> [ CASCADE ] Add drop constraint to AlterTable Dec 28, 2021
@alamb alamb changed the title Add drop constraint to AlterTable Support DROP CONSTRAINT [ IF EXISTS ] <name> [ CASCADE ] Feb 8, 2022
Copy link
Contributor

@alamb alamb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you @tvallotton LGTM

@alamb alamb merged commit c4cbc83 into apache:main Feb 8, 2022
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.

2 participants