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.
Branch
------
REL9_6_STABLE
Details
-------
https://git.postgresql.org/pg/commitdiff/21daada10ebf444fb1fc06a705fb22b890867083
Modified Files
--------------
src/backend/parser/parse_relation.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)