diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2015-08-01 20:57:41 -0400 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2015-08-01 20:57:41 -0400 |
commit | f69b4b9495269cc4957bac0f10aaada4d4cfa61e (patch) | |
tree | 862af561088a33757b1376af1eee1c96c4b82cae /src/backend/access/transam/xlog.c | |
parent | dea1491ffb448d20764a5f2cec8ae33b64dd39f8 (diff) | |
download | postgresql-f69b4b9495269cc4957bac0f10aaada4d4cfa61e.tar.gz postgresql-f69b4b9495269cc4957bac0f10aaada4d4cfa61e.zip |
Fix some planner issues with degenerate outer join clauses.
An outer join clause that didn't actually reference the RHS (perhaps only
after constant-folding) could confuse the join order enforcement logic,
leading to wrong query results. Also, nested occurrences of such things
could trigger an Assertion that on reflection seems incorrect.
Per fuzz testing by Andreas Seltenreich. The practical use of such cases
seems thin enough that it's not too surprising we've not heard field
reports about it.
This has been broken for a long time, so back-patch to all active branches.
Diffstat (limited to 'src/backend/access/transam/xlog.c')
0 files changed, 0 insertions, 0 deletions