> -----Original Message-----
> From: Tom Lane [mailto:tgl(at)sss(dot)pgh(dot)pa(dot)us]
>
> "Hiroshi Inoue" <Inoue(at)tpf(dot)co(dot)jp> writes:
>
> > In addition,SQL functions has returned a TupleTableSlot not a tuple
> > if the return type is a compound type.
>
> Right, the Datum representation of a tuple type is a pointer to a
> TupleTableSlot, so that's what this new FieldSelect node would expect
> to see at runtime. I don't see any need to change that.
>
I see. Fieldselect node could expect to see the tuple descriptor used
to store the HeapTuple.
BTW,AFAIK PL/pgSQL functions return a HeapTuple directly.
Regards.
Hiroshi Inoue
Inoue(at)tpf(dot)co(dot)jp