Log Message: ----------- Fix the recently-added code that eliminates unnecessary SubqueryScan nodes from a finished plan tree. We have to copy the output column names (resname fields) from the SubqueryScan down to its child plan node; else, if this is the topmost level of the plan, the wrong column names will be delivered to the client. Per bug #2017 reported by Jolly Chen.
Modified Files: -------------- pgsql/src/backend/optimizer/plan: setrefs.c (r1.115 -> r1.116) (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/optimizer/plan/setrefs.c.diff?r1=1.115&r2=1.116) ---------------------------(end of broadcast)--------------------------- TIP 2: Don't 'kill -9' the postmaster