-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
sql: fix error message when renaming databases with dependent sequences #45427
Conversation
Changes LGTM, but I find the error message still a bit not informative enough. What about |
i've put the full schema lookup name on the |
I think the table should have a qualified name as well then |
ah yeah that's what i meant. PR update incoming, check the tests |
258190e
to
5104de7
Compare
ah woops, missed a spot! |
5104de7
to
fe4c3fb
Compare
The code LGTM, a good number of failing tests to fix though. |
hahaa just the one |
Release note (bug fix): Previously, renaming a database with dependent views returned a misleading error message that implies it was a dependent view on a dependent table. This PR renames the error message generically to `cannot rename relation ... as it depends on relation ...` instead.
fe4c3fb
to
60a8ebe
Compare
bors r=rohany |
Build succeeded |
Refs: #45411
Release note (bug fix): Previously, renaming a database with dependent
views returned a misleading error message that implies it was a
dependent view on a dependent table. This PR renames the error message
generically to
cannot rename relation ... as it depends on relation ...
instead.