aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/gist/gistvalidate.c
diff options
context:
space:
mode:
authorRobert Haas <rhaas@postgresql.org>2017-03-07 10:22:07 -0500
committerRobert Haas <rhaas@postgresql.org>2017-03-07 10:22:07 -0500
commit655393a022bd653e2b48dbf20b69236981e35195 (patch)
tree90ded750bd3a37b7130133b32ccc65c9dc8d656e /src/backend/access/gist/gistvalidate.c
parentb2678efd43f17db7dfa04e0ca076ea01275cd9bc (diff)
downloadpostgresql-655393a022bd653e2b48dbf20b69236981e35195.tar.gz
postgresql-655393a022bd653e2b48dbf20b69236981e35195.zip
Fix parallel hash join path search.
When the very cheapest path is not parallel-safe, we want to instead use the cheapest unparameterized path that is. The old code searched innerrel->cheapest_parameterized_paths, but that isn't right, because the path we want may not be in that list. Search innerrel->pathlist instead. Spotted by Dilip Kumar. Discussion: http://postgr.es/m/CAFiTN-szCEcZrQm0i_w4xqSaRUTOUFstNu32Zn4rxxDcoa8gnA@mail.gmail.com
Diffstat (limited to 'src/backend/access/gist/gistvalidate.c')
0 files changed, 0 insertions, 0 deletions