diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2023-06-20 10:29:57 -0400 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2023-06-20 10:29:57 -0400 |
commit | efeb12ef0bfef0b5aa966a56bb4dbb1f936bda0c (patch) | |
tree | 0c81a184f93fcb91be81707a56ea75883d718c4a /src/tutorial/advanced.source | |
parent | 0655c03ef9cc6154b0b209059e758863dcf4e6b0 (diff) | |
download | postgresql-efeb12ef0bfef0b5aa966a56bb4dbb1f936bda0c.tar.gz postgresql-efeb12ef0bfef0b5aa966a56bb4dbb1f936bda0c.zip |
Don't include outer join relids in lateral_relids bitmapsets.
This avoids an assertion failure when outer joins are rearranged
per identity 3. Listing only the baserels from a PlaceHolderVar's
ph_lateral set should be enough to ensure that the required values
are available when we need to compute the PHV --- it's what we
did before inventing nullingrel sets, after all. It's a bit
unsatisfying; but with beta2 hard upon us, there's not time to
look for an aesthetically cleaner fix.
Richard Guo and Tom Lane
Discussion: https://postgr.es/m/CAMbWs48Jcw-NvnxT23WiHP324wG44DvzcH1j4hc0Zn+3sR9cfg@mail.gmail.com
Diffstat (limited to 'src/tutorial/advanced.source')
0 files changed, 0 insertions, 0 deletions