-
Notifications
You must be signed in to change notification settings - Fork 107
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
find_join_hint() calculates the join level using joinrelids which is a bitmapset of relations. However, since the upstream commit 2489d76c introduced in 16, it is possible that these include outer-join relids, something that pg_hint_plan cannot digest because it expects only case relations. This commit filters out any outer-join relids from the lists of relids considered during the join calculations. This could cause crashes because of corrupted relids lists. There may be a smarter way to fix that, but this is proving to be good enough for now. Per issue #139. Reported-by: Michael Paquier Author: Masahiro Ikeda Backpatch-through: 16
- Loading branch information
Showing
3 changed files
with
41 additions
and
0 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
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