-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
sql: stop returning dropped unique columns in DELETE RETURNING
this change is a followup to fix #32188 unique columns have an index on them. When such a column is dropped, a DELETE statement will read a dropped column to correctly drop the index on it, but this dropped column is exposed through the RETURNING clause. This change stops exposing the column via RETURNING. fixes #33361 Release note (sql change): fixed problem with returning dropped unique columns in DELETE RETURNING statement.
- Loading branch information
1 parent
e8c097d
commit 0023c78
Showing
2 changed files
with
43 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters