mirror of
https://github.com/postgres/postgres.git
synced 2025-07-26 01:22:12 +03:00
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.