Log Message:
-----------
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.
Modified Files:
--------------
pgsql/src/backend/access/common:
heaptuple.c (r1.100 -> r1.101)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/access/common/heaptuple.c.diff?r1=1.100&r2=1.101)
pgsql/src/backend/executor:
execQual.c (r1.181 -> r1.182)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/executor/execQual.c.diff?r1=1.181&r2=1.182)