-
Notifications
You must be signed in to change notification settings - Fork 391
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix some obscure optional bugs in the presence of tuple projections (#…
…5610) When attaching a path in the scope tree, the detection of whether the *target* node was optional was insufficient. It only checked the node itself, but needs to check all the way to the factoring point. I think that logic had forgotten about BRANCHes that weren't FENCEs. This came up in a branch where I was experimenting with always BRANCHing function arguments as a way to validate *sometimes* branching function arguments to produce code that hits ORDER BY indexes in complex pgvector cases.
- Loading branch information
Showing
2 changed files
with
88 additions
and
2 deletions.
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