PostgreSQL Source Code
git master
|
#include <expandedrecord.h>
Data Fields | |
ExpandedObjectHeader | hdr |
int | er_magic |
int | flags |
Oid | er_decltypeid |
Oid | er_typeid |
int32 | er_typmod |
TupleDesc | er_tupdesc |
uint64 | er_tupdesc_id |
Datum * | dvalues |
bool * | dnulls |
int | nfields |
Size | flat_size |
Size | data_len |
int | hoff |
bool | hasnull |
HeapTuple | fvalue |
char * | fstartptr |
char * | fendptr |
MemoryContext | er_short_term_cxt |
struct ExpandedRecordHeader * | er_dummy_header |
void * | er_domaininfo |
MemoryContextCallback | er_mcb |
Definition at line 42 of file expandedrecord.h.
Size ExpandedRecordHeader::data_len |
Definition at line 112 of file expandedrecord.h.
Referenced by ER_flatten_into(), and ER_get_flat_size().
bool* ExpandedRecordHeader::dnulls |
Definition at line 101 of file expandedrecord.h.
Referenced by build_dummy_expanded_header(), check_domain_for_new_field(), deconstruct_expanded_record(), ER_flatten_into(), ER_get_flat_size(), exec_move_row_from_datum(), expanded_record_fetch_field(), expanded_record_get_field(), expanded_record_get_tuple(), expanded_record_set_field_internal(), expanded_record_set_fields(), expanded_record_set_tuple(), make_expanded_record_from_exprecord(), make_expanded_record_from_tupdesc(), and make_expanded_record_from_typeid().
Datum* ExpandedRecordHeader::dvalues |
Definition at line 100 of file expandedrecord.h.
Referenced by build_dummy_expanded_header(), check_domain_for_new_field(), deconstruct_expanded_record(), ER_flatten_into(), ER_get_flat_size(), exec_move_row_from_datum(), expanded_record_fetch_field(), expanded_record_get_field(), expanded_record_get_tuple(), expanded_record_set_field_internal(), expanded_record_set_fields(), expanded_record_set_tuple(), make_expanded_record_from_exprecord(), make_expanded_record_from_tupdesc(), and make_expanded_record_from_typeid().
Oid ExpandedRecordHeader::er_decltypeid |
Definition at line 65 of file expandedrecord.h.
Referenced by build_dummy_expanded_header(), check_domain_for_new_field(), check_domain_for_new_tuple(), coerce_function_result_tuple(), exec_move_row_from_datum(), expanded_record_set_fields(), make_expanded_record_for_rec(), make_expanded_record_from_datum(), make_expanded_record_from_exprecord(), make_expanded_record_from_tupdesc(), and make_expanded_record_from_typeid().
void* ExpandedRecordHeader::er_domaininfo |
Definition at line 135 of file expandedrecord.h.
Referenced by check_domain_for_new_field(), check_domain_for_new_tuple(), and expanded_record_set_fields().
struct ExpandedRecordHeader* ExpandedRecordHeader::er_dummy_header |
Definition at line 134 of file expandedrecord.h.
Referenced by build_dummy_expanded_header(), check_domain_for_new_field(), and check_domain_for_new_tuple().
int ExpandedRecordHeader::er_magic |
Definition at line 48 of file expandedrecord.h.
Referenced by build_dummy_expanded_header(), coerce_function_result_tuple(), DatumGetExpandedRecord(), ER_flatten_into(), ER_get_flat_size(), exec_move_row_from_datum(), ExecEvalFieldSelect(), make_expanded_record_from_datum(), make_expanded_record_from_exprecord(), make_expanded_record_from_tupdesc(), make_expanded_record_from_typeid(), and plpgsql_exec_trigger().
MemoryContextCallback ExpandedRecordHeader::er_mcb |
Definition at line 138 of file expandedrecord.h.
Referenced by expanded_record_fetch_tupdesc(), make_expanded_record_from_exprecord(), make_expanded_record_from_tupdesc(), and make_expanded_record_from_typeid().
MemoryContext ExpandedRecordHeader::er_short_term_cxt |
Definition at line 131 of file expandedrecord.h.
Referenced by build_dummy_expanded_header(), check_domain_for_new_field(), check_domain_for_new_tuple(), expanded_record_set_field_internal(), expanded_record_set_tuple(), and get_short_term_cxt().
TupleDesc ExpandedRecordHeader::er_tupdesc |
Definition at line 83 of file expandedrecord.h.
Referenced by build_dummy_expanded_header(), check_domain_for_new_field(), ER_get_flat_size(), ER_mc_callback(), expanded_record_fetch_tupdesc(), expanded_record_get_tupdesc(), expanded_record_get_tuple(), expanded_record_set_field_internal(), expanded_record_set_fields(), expanded_record_set_tuple(), make_expanded_record_from_exprecord(), make_expanded_record_from_tupdesc(), and make_expanded_record_from_typeid().
uint64 ExpandedRecordHeader::er_tupdesc_id |
Definition at line 89 of file expandedrecord.h.
Referenced by build_dummy_expanded_header(), exec_assign_value(), exec_eval_datum(), exec_for_query(), expanded_record_fetch_tupdesc(), make_expanded_record_from_exprecord(), make_expanded_record_from_tupdesc(), make_expanded_record_from_typeid(), plpgsql_exec_get_datum_type(), plpgsql_exec_get_datum_type_info(), plpgsql_param_eval_recfield(), and plpgsql_param_fetch().
Oid ExpandedRecordHeader::er_typeid |
Definition at line 73 of file expandedrecord.h.
Referenced by build_dummy_expanded_header(), ER_flatten_into(), ER_get_flat_size(), exec_eval_datum(), exec_move_row_from_datum(), expanded_record_fetch_tupdesc(), make_expanded_record_from_datum(), make_expanded_record_from_exprecord(), make_expanded_record_from_tupdesc(), make_expanded_record_from_typeid(), plpgsql_exec_get_datum_type(), and plpgsql_exec_get_datum_type_info().
int32 ExpandedRecordHeader::er_typmod |
Definition at line 74 of file expandedrecord.h.
Referenced by build_dummy_expanded_header(), ER_flatten_into(), ER_get_flat_size(), exec_eval_datum(), exec_move_row_from_datum(), expanded_record_fetch_tupdesc(), make_expanded_record_from_datum(), make_expanded_record_from_exprecord(), make_expanded_record_from_tupdesc(), and make_expanded_record_from_typeid().
char* ExpandedRecordHeader::fendptr |
Definition at line 128 of file expandedrecord.h.
Referenced by build_dummy_expanded_header(), check_domain_for_new_tuple(), expanded_record_set_field_internal(), expanded_record_set_fields(), expanded_record_set_tuple(), and make_expanded_record_from_datum().
int ExpandedRecordHeader::flags |
Definition at line 51 of file expandedrecord.h.
Referenced by build_dummy_expanded_header(), check_domain_for_new_field(), check_domain_for_new_tuple(), deconstruct_expanded_record(), ER_flatten_into(), ER_get_flat_size(), exec_move_row_from_datum(), expanded_record_get_field(), expanded_record_get_tuple(), expanded_record_set_field_internal(), expanded_record_set_fields(), expanded_record_set_tuple(), make_expanded_record_from_datum(), make_expanded_record_from_exprecord(), make_expanded_record_from_tupdesc(), and make_expanded_record_from_typeid().
Size ExpandedRecordHeader::flat_size |
Definition at line 110 of file expandedrecord.h.
Referenced by build_dummy_expanded_header(), ER_flatten_into(), ER_get_flat_size(), expanded_record_set_field_internal(), expanded_record_set_fields(), and expanded_record_set_tuple().
char* ExpandedRecordHeader::fstartptr |
Definition at line 127 of file expandedrecord.h.
Referenced by build_dummy_expanded_header(), check_domain_for_new_tuple(), expanded_record_set_tuple(), and make_expanded_record_from_datum().
HeapTuple ExpandedRecordHeader::fvalue |
Definition at line 126 of file expandedrecord.h.
Referenced by build_dummy_expanded_header(), check_domain_for_new_tuple(), deconstruct_expanded_record(), ER_flatten_into(), ER_get_flat_size(), exec_move_row_from_datum(), expanded_record_fetch_field(), expanded_record_get_tuple(), expanded_record_set_tuple(), and make_expanded_record_from_datum().
bool ExpandedRecordHeader::hasnull |
Definition at line 114 of file expandedrecord.h.
Referenced by ER_flatten_into(), and ER_get_flat_size().
ExpandedObjectHeader ExpandedRecordHeader::hdr |
Definition at line 45 of file expandedrecord.h.
Referenced by build_dummy_expanded_header(), check_domain_for_new_field(), check_domain_for_new_tuple(), coerce_function_result_tuple(), deconstruct_expanded_record(), expanded_record_fetch_tupdesc(), expanded_record_set_field_internal(), expanded_record_set_fields(), expanded_record_set_tuple(), ExpandedRecordGetDatum(), ExpandedRecordGetRODatum(), get_short_term_cxt(), make_expanded_record_from_datum(), make_expanded_record_from_exprecord(), make_expanded_record_from_tupdesc(), and make_expanded_record_from_typeid().
int ExpandedRecordHeader::hoff |
Definition at line 113 of file expandedrecord.h.
Referenced by ER_flatten_into(), and ER_get_flat_size().
int ExpandedRecordHeader::nfields |
Definition at line 102 of file expandedrecord.h.
Referenced by build_dummy_expanded_header(), check_domain_for_new_field(), deconstruct_expanded_record(), ER_get_flat_size(), expanded_record_fetch_field(), expanded_record_set_field_internal(), expanded_record_set_fields(), expanded_record_set_tuple(), make_expanded_record_from_exprecord(), make_expanded_record_from_tupdesc(), and make_expanded_record_from_typeid().