Ensure that the Datum generated from a whole-row Var contains valid

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 07908c9c370ee0715f8e1dfe0c17fbba335003c6
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2005-10-19T18:18:33Z
Releases: 8.1.0
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

PathChange+/−
src/backend/access/common/heaptuple.c modified +9 −1
src/backend/executor/execQual.c modified +2 −2