]> git.ipfire.org Git - thirdparty/postgresql.git/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:24 +0000 (18:16 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Fri, 27 Oct 2017 22:16:24 +0000 (18:16 -0400)
commitd76886c2d33123299ce7c8255a71e39b9e53711b
tree46223a782dd114d16cdb342911167484f49416f9
parentd5b760ecb5e172252810fae877e6d6193b818167
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