Zdenek Kotala <[EMAIL PROTECTED]> writes:
> GetAttributeByNum has first parameter as HeapTupleHeader, but most functions
> use Datum and after that they call DatumGetHeapTupleHeader. The difference is
> that DatumGetHeapTupleHeader performs detoast on tuple(row type).
> Is it intention do not detoast in these functions or it is a bug?
You would certainly not want a tuple to get separately detoasted for
each attribute you pull from it. So having detoasting here would be
the wrong thing IMHO.
regards, tom lane
--
Sent via pgsql-hackers mailing list ([email protected])
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers