Finish incomplete revert of ec63622c0.

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

Commit: 07746a8ef2a871d904c26364cdca4e7feeffe395
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2024-05-06T18:22:45Z
Releases: 17.0
Finish incomplete revert of ec63622c0.

The code change this made might well be fine to keep, but the
comment justifying it by reference to self-join removal isn't.
Let's just go back to the status quo ante, pending a more thorough
review/redesign of SJE.

(I found this by grepping to see if any references to self-join
removal remained in the tree.)

Files

PathChange+/−
src/backend/optimizer/prep/prepunion.c modified +3 −6