PostgreSQL Tuples
Definitions: include/postgres.h , include/access/*tup*.h
Functions: backend/access/common/*tup*.c
- e.g.
HeapTuple heap_form_tuple(desc, values[], isnull[])
- e.g.
heap_deform_tuple(tuple, desc, values[], isnull[])
PostgreSQL defines tuples via:
- a contiguous chunk of memory
- starting with a header giving e.g. #fields, nulls
- followed by the data values (as sequence of
Datum )
|