Doc: note that two examples in optimizer/README are oversimplified.

Tom Lane <tgl@sss.pgh.pa.us>

Commit: dd496eedeaac7cc9023e8fbca709475868ed5d9a
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2025-04-09T03:03:33Z
Releases: 18.0
Doc: note that two examples in optimizer/README are oversimplified.

These examples fail to account for join clauses generated by
EquivalenceClasses, but since we haven't mentioned EquivalenceClasses
yet it seems like it'd just add confusion to make them fully accurate.
Instead, parenthetically note that they're oversimplified.

Reported-by: Zeyuan Hu <ferrishu3886@gmail.com>
Co-authored-by: David Rowley <dgrowleyml@gmail.com>
Co-authored-by: Tom Lane <tgl@sss.pgh.pa.us>
Discussion: https://postgr.es/m/CACvHWmYFo+60yMqKJajDDvKN5EM41YHrCT3oxukwXmGAqpWvyw@mail.gmail.com

Files

PathChange+/−
src/backend/optimizer/README modified +5 −1

Discussion