Re: doubt about datum
| От | Luca Ferrari |
|---|---|
| Тема | Re: doubt about datum |
| Дата | |
| Msg-id | 200708061657.29783.fluca1978@infinito.it обсуждение |
| Ответ на | Re: doubt about datum (Tom Lane <tgl@sss.pgh.pa.us>) |
| Ответы |
Re: doubt about datum
|
| Список | pgsql-novice |
On Tuesday 31 July 2007 Tom Lane's cat, walking on the keyboard, wrote:
> > Moreover why it does not need transaction
> > visibility as an ordinary tuple (xmin, cmin, cmax, xmax)?
>
> Datums are values. '42'::int does not need visibility information;
> its value is always the same.
Maybe I understand something more, but I'm still in doubt about the tuple
header. In the htup.h file you find:
typedef struct HeapTupleHeaderData
{
union
{
HeapTupleFields t_heap;
DatumTupleFields t_datum;
} t_choice;
....
}
maybe I cannot get the meaning of the above t_datum in the tuple header, can
anyone explain me that?
Thanks,
Luca
В списке pgsql-novice по дате отправления: