summaryrefslogtreecommitdiff
path: root/src/backend/storage/ipc
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2008-10-06 17:39:26 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2008-10-06 17:39:26 +0000
commitbf461538e18b67ec05d89846fcf15fa9c0cb9a74 (patch)
tree7603c4ac7537ccf8e0afd51fb992d5d07c0631c5 /src/backend/storage/ipc
parente64bb65aff3f53b4f56b4a1ee549930b568cec99 (diff)
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.
Diffstat (limited to 'src/backend/storage/ipc')
0 files changed, 0 insertions, 0 deletions