RE: Anyone particularly wedded to func_tlist mechanism? - Mailing list pgsql-hackers

From Hiroshi Inoue
Subject RE: Anyone particularly wedded to func_tlist mechanism?
Date
Msg-id 000401bffdb7$d191d0a0$2801007e@tpf.co.jp
Whole thread Raw
In response to Re: Anyone particularly wedded to func_tlist mechanism?  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
> -----Original Message-----
> From: Tom Lane [mailto:tgl@sss.pgh.pa.us]
> 
> "Hiroshi Inoue" <Inoue@tpf.co.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@tpf.co.jp


pgsql-hackers by date:

Previous
From: Philip Warner
Date:
Subject: Re: pg_dump/restore to convert BLOBs to LZTEXT (optional!)
Next
From: "Hiroshi Inoue"
Date:
Subject: RE: Raw constraint & pg_relcheck.rcsrc