Skip to content

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

Merged
alamb merged 2 commits into
apache:mainfrom
tvallotton:alter-table-drop-constraint
Feb 8, 2022
Merged

alamb merged 2 commits into
apache:mainfrom
tvallotton:alter-table-drop-constraint

Conversation

@tvallotton

@tvallotton tvallotton commented Dec 28, 2021 •

Copy link
Copy Markdown
Contributor

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

@alamb alamb left a comment

Copy link
Copy Markdown
Contributor

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