PostgreSQL Tuples (cont)
Tuple-related data types: (cont)
typedef struct HeapTupleData
{
uint32 t_len;
ItemPointerData t_self;
Oid t_tableOid;
HeapTupleHeader t_data;
} HeapTupleData;
|
PostgreSQL allocates a single block of data for tuple
- containing the above struct, followed by data
byte[]
- no explicit field for data, it comes after bitmap (see next)
|