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

PR #90865 - sql: use bare string to compare with pk name #15514

Open
cockroach-teamcity opened this issue Oct 31, 2022 · 0 comments
Open

PR #90865 - sql: use bare string to compare with pk name #15514

cockroach-teamcity opened this issue Oct 31, 2022 · 0 comments

Comments

@cockroach-teamcity
Copy link
Member

cockroach-teamcity commented Oct 31, 2022

Exalate commented:

Related PR: cockroachdb/cockroach#90865
Commit: cockroachdb/cockroach@746f8f9


Release note (sql change): previously, the DROP CONSTRAINT, ADD CONSTRAINT
in one trick to have a new primary key without moving old
primary key to be a secondary index didn't work if the primary
key name is a reserved SQL keyword. A constraint already exists
error was returned. This patch fixed the bug, the trick now
also works with primary key named as reserved keywords.

Jira Issue: DOC-6085

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants