Ensure that the Datum generated from a whole-row Var contains valid
Tom Lane <tgl@sss.pgh.pa.us>
Ensure that the Datum generated from a whole-row Var contains valid type ID information even when it's a record type. This is needed to handle whole-row Vars referencing subquery outputs. Per example from Richard Huxton.
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/access/common/heaptuple.c | modified | +9 −1 |
| src/backend/executor/execQual.c | modified | +2 −2 |