We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Relates to: https://www.heidisql.com/forum.php?t=37283
When dropping a key in the "Foreign keys" tab, the command that is executed is this:
ALTER TABLE "example" DROP FOREIGN KEY "FK_key";
This throws an error:
ERROR: syntax error at or near "FOREIGN" LINE 2: DROP FOREIGN KEY "FK_key"
The proper syntax is (at least one that works) uses DROP CONSTRAINT instead of DROP FOREIGN KEY:
DROP CONSTRAINT
DROP FOREIGN KEY
ALTER TABLE "example" DROP CONSTRAINT "FK_key";
PostgreSQL version:
$ SELECT VERSION() PostgreSQL 12.4 on x86_64-pc-linux-gnu, compiled by gcc (GCC) 4.8.3 20140911 (Red Hat 4.8.3-9), 64-bit
The text was updated successfully, but these errors were encountered:
Same here, waiting for a fix release. is there any release plan for v11.3?
Sorry, something went wrong.
No date set for next releases. I only planned to release more often, probably with less modifications then.
This would be nice to have fixed asap.
Any plan to fix this?
fcca03a
Fixed in the next build.
No branches or pull requests
Relates to: https://www.heidisql.com/forum.php?t=37283
When dropping a key in the "Foreign keys" tab, the command that is executed is this:
This throws an error:
The proper syntax is (at least one that works) uses
DROP CONSTRAINT
instead ofDROP FOREIGN KEY
:PostgreSQL version:
The text was updated successfully, but these errors were encountered: