PostgreSQL Source Code
git master
|
#include "catalog/pg_type_d.h"
Go to the source code of this file.
Macros | |
#define | fetchatt(A, T) fetch_att(T, (A)->attbyval, (A)->attlen) |
#define | att_align_datum(cur_offset, attalign, attlen, attdatum) |
#define | att_align_pointer(cur_offset, attalign, attlen, attptr) |
#define | att_align_nominal(cur_offset, attalign) |
#define | att_addlength_datum(cur_offset, attlen, attdatum) att_addlength_pointer(cur_offset, attlen, DatumGetPointer(attdatum)) |
#define | att_addlength_pointer(cur_offset, attlen, attptr) |
Functions | |
static bool | att_isnull (int ATT, const bits8 *BITS) |
static Datum | fetch_att (const void *T, bool attbyval, int attlen) |
static void | store_att_byval (void *T, Datum newdatum, int attlen) |
#define att_addlength_datum | ( | cur_offset, | |
attlen, | |||
attdatum | |||
) | att_addlength_pointer(cur_offset, attlen, DatumGetPointer(attdatum)) |
#define att_addlength_pointer | ( | cur_offset, | |
attlen, | |||
attptr | |||
) |
#define att_align_nominal | ( | cur_offset, | |
attalign | |||
) |
Definition at line 26 of file tupmacs.h.
Referenced by brin_deconstruct_tuple(), check_tuple_attribute(), fastgetattr(), heap_attisnull(), heap_deform_tuple(), index_deform_tuple_internal(), index_getattr(), nocache_index_getattr(), nocachegetattr(), slot_deform_heap_tuple(), and tuple_data_split_internal().
Definition at line 52 of file tupmacs.h.
References attbyval, attlen, CharGetDatum(), elog(), ERROR, Int16GetDatum(), Int32GetDatum(), PointerGetDatum(), and T.
Referenced by array_iter_next(), array_iterate(), array_replace_internal(), array_to_text_internal(), ArrayCast(), brin_range_deserialize(), deconstruct_array(), ExecEvalHashedScalarArrayOp(), ExecEvalScalarArrayOp(), multirange_get_bounds(), PLyList_FromArray_recurse(), range_deserialize(), statext_mcv_deserialize(), width_bucket_array_fixed(), and width_bucket_array_variable().
|
inlinestatic |
Definition at line 183 of file tupmacs.h.
References attlen, DatumGetChar(), DatumGetInt16(), DatumGetInt32(), elog(), ERROR, and T.
Referenced by ArrayCastAndSet(), brin_range_serialize(), datum_write(), fill_val(), and statext_mcv_serialize().