]> granicus.if.org Git - postgresql/commit
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)
commite06b9e9dc8377598d53791f340b8a973c6513b98
tree0c4ef36541aacce42b9f3df4eb2aa8791c99f0e2
parent9d15b8b36a9185f9990309770f480900310c75d4
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