[prev] 67 [next]

PostgreSQL Tuples (cont)

Tuple-related data types:

// representation of a data value
typedef uintptr_t Datum;

The actual data value:

  • may be stored in the Datum (e.g. int)
  • may have a header with length (for varlen attributes)
  • may be stored in a TOAST file