Dept of second thoughts: keep aliasp_item in sync with tlistitem.
authorTom Lane <tgl@sss.pgh.pa.us>
Fri, 27 Oct 2017 22:16:25 +0000 (18:16 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Fri, 27 Oct 2017 22:16:25 +0000 (18:16 -0400)
commit291a31c42c893574e9676e00121e6c6915a59de5
treeeeed0defd0249eef0e44b4db9ef66281c0c03022
parentddde3b4f3e888c06f7b866575be242357d9d72be
Dept of second thoughts: keep aliasp_item in sync with tlistitem.

Commit d5b760ecb wasn't quite right, on second thought: if the
caller didn't ask for column names then it would happily emit
more Vars than if the caller did ask for column names.  This
is surely not a good idea.  Advance the aliasp_item whether or
not we're preparing a colnames list.
src/backend/parser/parse_relation.c