postgresql/src/backend/optimizer/util
Tom Lane bf461538e1 When expanding a whole-row Var into a RowExpr during ResolveNew(), attach
the column alias names of the RTE referenced by the Var to the RowExpr.
This is needed to allow ruleutils.c to correctly deparse FieldSelect nodes
referencing such a construct.  Per my recent bug report.

Adding a field to RowExpr forces initdb (because of stored rules changes)
so this solution is not back-patchable; which is unfortunate because 8.2
and 8.3 have this issue.  But it only affects EXPLAIN for some pretty odd
corner cases, so we can probably live without a solution for the back
branches.
2008-10-06 17:39:26 +00:00
..
clauses.c Implement SQL-standard WITH clauses, including WITH RECURSIVE. 2008-10-04 21:56:55 +00:00
joininfo.c Update copyrights in source tree to 2008. 2008-01-01 19:46:01 +00:00
Makefile Refactor backend makefiles to remove lots of duplicate code 2008-02-19 10:30:09 +00:00
pathnode.c Implement SQL-standard WITH clauses, including WITH RECURSIVE. 2008-10-04 21:56:55 +00:00
plancat.c Implement SQL-standard WITH clauses, including WITH RECURSIVE. 2008-10-04 21:56:55 +00:00
predtest.c Move exprType(), exprTypmod(), expression_tree_walker(), and related routines 2008-08-25 22:42:34 +00:00
relnode.c Implement SQL-standard WITH clauses, including WITH RECURSIVE. 2008-10-04 21:56:55 +00:00
restrictinfo.c Update copyrights in source tree to 2008. 2008-01-01 19:46:01 +00:00
tlist.c Move exprType(), exprTypmod(), expression_tree_walker(), and related routines 2008-08-25 22:42:34 +00:00
var.c When expanding a whole-row Var into a RowExpr during ResolveNew(), attach 2008-10-06 17:39:26 +00:00