create_unique_plan() should not discard existing output columns of the

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

Commit: ecbed6e1b9a373d016c4afb3b674c88e86c1fc28
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2003-08-07T19:20:24Z
Releases: 7.4.1
create_unique_plan() should not discard existing output columns of the
subplan it starts with, as they may be needed at upper join levels.
See comments added to code for the non-obvious reason why.  Per bug report
from Robert Creager.

Files