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

Support for removing NOT NULL constraints in PostgreSQL. #133

Merged

Conversation

uehara-delta
Copy link
Contributor

Fix a problem in PostgreSQL that caused incorrect ALTER TABLE output when NOT NULL constraints were removed.

For example,

ALTER TABLE "customer" DROP CONSTRAINT ;
ALTER TABLE "customer" ALTER COLUMN "customername" DROP NOT NULL;

The first line is trying to remove an unnamed NOT NULL constraint, which is unnecessary.

@rabbiveesh rabbiveesh merged commit b67e86c into dbsrgits:master Feb 23, 2023
@rabbiveesh
Copy link
Contributor

thanks!

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.

None yet

2 participants