diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2024-01-10 13:51:36 -0500 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2024-01-10 13:51:36 -0500 |
commit | add673b897c3d76767cec5ac1619fad6b1eb7582 (patch) | |
tree | 8b89cfdd841f37211bb46cefab10a2a3384fb7d7 /src/backend/access/gist/gistvalidate.c | |
parent | d641b827af3966e349cbcc592bc51a4ab770c37b (diff) | |
download | postgresql-add673b897c3d76767cec5ac1619fad6b1eb7582.tar.gz postgresql-add673b897c3d76767cec5ac1619fad6b1eb7582.zip |
Fix Asserts in calc_non_nestloop_required_outer().
These were not testing the same thing as the comparable Assert
in calc_nestloop_required_outer(), because we neglected to map
the given Paths' relids to top-level relids. When considering
a partition child join the latter is the correct thing to do.
This oversight is old, but since it's only an overly-weak Assert
check there doesn't seem to be much value in back-patching.
Richard Guo (with cosmetic changes and comment updates by me)
Discussion: https://postgr.es/m/CAMbWs49sqbe9GBZ8sy8dSfKRNURgicR85HX8vgzcgQsPF0XY1w@mail.gmail.com
Diffstat (limited to 'src/backend/access/gist/gistvalidate.c')
0 files changed, 0 insertions, 0 deletions