Question about GetAttributeByNum(Name) ExecQual.c

From: Zdenek Kotala <Zdenek(dot)Kotala(at)Sun(dot)COM>
To: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Question about GetAttributeByNum(Name) ExecQual.c
Date: 2008-10-30 10:39:45
Message-ID: 49098EF1.9030109@sun.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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?

thanks Zdenek

--
Zdenek Kotala Sun Microsystems
Prague, Czech Republic http://sun.com/postgresql

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Gregory Stark 2008-10-30 10:52:50 Re: Updating FSM on recovery
Previous Message Simon Riggs 2008-10-30 10:13:22 Re: Hot Standby: Caches and Locks