PostgreSQL Source Code  git master
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
tupleDesc Struct Reference

#include <tupdesc.h>

Data Fields

int natts
Form_pg_attributeattrs
TupleConstrconstr
Oid tdtypeid
int32 tdtypmod
bool tdhasoid
int tdrefcount

Detailed Description

Definition at line 71 of file tupdesc.h.

Field Documentation

Form_pg_attribute* tupleDesc::attrs

Definition at line 74 of file tupdesc.h.

Referenced by AddNewAttributeTuples(), AddRelationNewConstraints(), AlterDomainNotNull(), AppendAttributeTuples(), assign_record_type_typmod(), ATAddForeignKeyConstraint(), ATExecAddOf(), ATExecAlterColumnType(), ATExecReplicaIdentity(), ATRewriteTable(), attnameAttNum(), attnumAttName(), attnumCollationId(), attnumTypeId(), AttrDefaultFetch(), BeginCopy(), BeginCopyFrom(), boot_openrel(), brin_build_desc(), brin_deconstruct_tuple(), brin_deform_tuple(), brin_minmax_add_value(), brin_minmax_union(), brinbuildCallback(), bringetbitmap(), build_column_default(), build_index_tlist(), build_physical_tlist(), build_row_from_class(), BuildDescForRelation(), BuildHardcodedDescriptor(), buildRelationAliases(), BuildTupleFromCStrings(), cache_record_field_properties(), CatalogCacheInitializeCache(), check_selective_binary_conversion(), check_sql_fn_retval(), CheckAttributeNamesTypes(), CheckAttributeType(), CheckIndexCompatible(), checkInsertTargets(), checkRuleResultList(), checkViewTupleDesc(), coerce_record_to_complex(), collectMatchBitmap(), compatConnectbyTupleDescs(), compatCrosstabTupleDescs(), composite_to_json(), composite_to_jsonb(), ConstructTupleDescriptor(), conversion_error_callback(), convert_tuples_by_name(), convert_tuples_by_position(), CopyGetAttnums(), CopyTo(), create_toast_table(), CreateTemplateTupleDesc(), CreateTupleDesc(), CreateTupleDescCopy(), CreateTupleDescCopyConstr(), currtid_for_view(), debugStartup(), debugtup(), DefineRelation(), deparseAnalyzeSql(), deparseTargetList(), equalTupleDescs(), errtablecol(), examine_attribute(), exec_assign_value(), exec_eval_datum(), exec_get_datum_type_info(), exec_stmt_return_next(), ExecBuildProjectionInfo(), ExecBuildSlotValueDescription(), ExecCheckPlanOutput(), ExecConstraints(), ExecEvalNullTest(), ExecEvalScalarVar(), ExecEvalWholeRowSlow(), ExecEvalWholeRowVar(), ExecInitExpr(), ExecInitJunkFilterConversion(), ExecScanSubPlan(), ExecSetParamPlan(), ExecTypeSetColNames(), expand_targetlist(), ExpandRowReference(), expandTupleDesc(), find_composite_type_dependencies(), formrdesc(), get_file_fdw_attribute_options(), get_name_for_var_field(), get_rel_data_width(), get_relation_constraints(), get_rels_with_domain(), get_rte_attribute_is_dropped(), get_rte_attribute_type(), get_rule_expr(), get_sql_delete(), get_sql_insert(), get_sql_update(), get_target_list(), get_tuple_of_interest(), GetAttributeByName(), getDatumCopy(), gistInitBuffering(), heap_compute_data_size(), heap_deform_tuple(), heap_fill_tuple(), heap_tuple_attr_equals(), hstore_from_record(), hstore_populate_record(), hypothetical_check_argtypes(), index_form_tuple(), initGinState(), initialize_aggregates(), InitializeAttributeOids(), InsertOneValue(), intorel_startup(), load_relcache_init_file(), make_inh_translation_list(), make_row_from_rec_and_jsonb(), make_tuple_from_row(), make_tuple_indirect(), map_sql_table_to_xmlschema(), map_sql_typecoll_to_xmlschema_types(), MergeAttributes(), MergeAttributesIntoExisting(), needs_toast_table(), NextCopyFrom(), nocache_index_getattr(), nocachegetattr(), page_header(), ParseComplexProjection(), plperl_build_tuple_result(), plperl_hash_from_tuple(), plperl_modify_tuple(), pltcl_build_tuple_argument(), pltcl_set_tuple_values(), PLy_input_tuple_funcs(), PLy_modify_tuple(), PLy_output_tuple_funcs(), PLy_result_colnames(), PLy_result_coltypes(), PLy_result_coltypmods(), PLyDict_FromTuple(), PLyGenericObject_ToComposite(), PLyMapping_ToComposite(), PLySequence_ToComposite(), populate_record_worker(), populate_recordset_object_end(), postgresPlanForeignModify(), printtup_prepare_info(), record_cmp(), record_eq(), record_image_cmp(), record_image_eq(), record_in(), record_out(), record_recv(), record_send(), reform_and_rewrite_tuple(), refresh_by_match_merge(), RelationBuildLocalRelation(), RelationBuildTupleDesc(), ReorderBufferToastReplace(), resolve_polymorphic_tupdesc(), rewriteTargetListIU(), rewriteValuesRTE(), rowtype_field_matches(), security_barrier_replace_vars_walker(), SendRowDescriptionMessage(), set_relation_column_names(), slot_deform_tuple(), slot_getattr(), spgGetCache(), SPI_fname(), SPI_fnumber(), SPI_gettype(), SPI_gettypeid(), SPI_getvalue(), tlist_matches_tupdesc(), toast_delete(), toast_flatten_tuple(), toast_flatten_tuple_to_datum(), toast_insert_or_update(), transformAssignedExpr(), transformIndexConstraint(), transformOfType(), transformTableLikeClause(), tstoreReceiveSlot_detoast(), tstoreStartupReceiver(), tuple_to_stringinfo(), tupledesc_match(), TupleDescCopyEntry(), TupleDescGetAttInMetadata(), TupleDescInitEntry(), TupleDescInitEntryCollation(), TypeGetTupleDesc(), validate_pkattnums(), validateConnectbyTupleDesc(), validateDomainConstraint(), and write_relcache_init_file().

int tupleDesc::natts

Definition at line 73 of file tupdesc.h.

Referenced by _hash_form_tuple(), AddNewAttributeTuples(), addRangeTableEntryForFunction(), assign_record_type_typmod(), ATExecAddOf(), ATRewriteTable(), attnumAttName(), attnumCollationId(), attnumTypeId(), BeginCopy(), BeginCopyFrom(), brin_build_desc(), brin_deconstruct_tuple(), brin_deform_tuple(), brin_form_placeholder_tuple(), brin_form_tuple(), brin_memtuple_initialize(), brin_new_memtuple(), brin_page_items(), brinbuildCallback(), bringetbitmap(), brininsert(), brtuple_disk_tupdesc(), build_dummy_tuple(), BuildDescForRelation(), BuildDescFromLists(), buildRelationAliases(), BuildTupleFromCStrings(), cache_record_field_properties(), check_selective_binary_conversion(), check_sql_fn_retval(), CheckAttributeNamesTypes(), CheckAttributeType(), checkRuleResultList(), checkViewTupleDesc(), coerce_record_to_complex(), compatCrosstabTupleDescs(), composite_to_json(), composite_to_jsonb(), conversion_error_callback(), convert_tuples_by_name(), convert_tuples_by_position(), copy_heap_data(), CopyFrom(), CopyGetAttnums(), CopyTo(), CreateTemplateTupleDesc(), CreateTupleDesc(), CreateTupleDescCopy(), CreateTupleDescCopyConstr(), currtid_for_view(), debugStartup(), debugtup(), DefineVirtualRelation(), deparseAnalyzeSql(), deparseTargetList(), do_analyze_rel(), do_convert_tuple(), do_tup_output(), equalTupleDescs(), exec_assign_value(), exec_eval_expr(), exec_move_row(), exec_stmt_return_next(), ExecBuildProjectionInfo(), ExecBuildSlotValueDescription(), ExecCheckPlanOutput(), ExecConstraints(), ExecEvalNullTest(), ExecEvalRow(), ExecEvalScalarVar(), ExecEvalWholeRowVar(), ExecFilterJunk(), ExecInitExpr(), ExecInitFunctionScan(), ExecInitJunkFilter(), ExecInitJunkFilterConversion(), ExecMakeTableFunctionResult(), ExecSetSlotDescriptor(), ExecStoreAllNullTuple(), ExecStoreVirtualTuple(), ExecTypeSetColNames(), expandRelation(), ExpandRowReference(), ExtractReplicaIdentity(), file_acquire_sample_rows(), gbt_var_penalty(), get_crosstab_tuplestore(), get_file_fdw_attribute_options(), get_relation_constraints(), get_rule_expr(), get_sql_insert(), get_sql_update(), get_tuple_of_interest(), GetAttributeByName(), ginBuildCallback(), ginHeapTupleFastCollect(), gininsert(), gistchoose(), gistDeCompressAtt(), gistFormTuple(), gistgetadjusted(), gistInitBuffering(), gistMakeUnionItVec(), gistRelocateBuildBuffersOnSplit(), gistSplit(), gistSplitByKey(), gistUserPicksplit(), heap_compute_data_size(), heap_deform_tuple(), heap_deformtuple(), heap_fill_tuple(), heap_form_minimal_tuple(), heap_form_tuple(), heap_formtuple(), heap_modify_tuple(), heap_modifytuple(), hstore_from_record(), hstore_populate_record(), hypothetical_check_argtypes(), index_deform_tuple(), index_form_tuple(), initGinState(), initGISTstate(), intorel_startup(), load_categories_hash(), make_inh_translation_list(), make_tuple_from_result_row(), make_tuple_from_row(), make_tuple_indirect(), map_sql_table_to_xmlschema(), map_sql_typecoll_to_xmlschema_types(), materializeResult(), MergeAttributes(), MergeAttributesIntoExisting(), needs_toast_table(), NextCopyFrom(), nocache_index_getattr(), nocachegetattr(), ordered_set_startup(), ordered_set_transition_multi(), ParseComplexProjection(), pg_buffercache_pages(), pgrowlocks(), placeOne(), plperl_build_tuple_result(), plperl_hash_from_tuple(), plperl_modify_tuple(), pltcl_build_tuple_argument(), pltcl_set_tuple_values(), PLy_input_tuple_funcs(), PLy_output_tuple_funcs(), PLy_result_colnames(), PLy_result_coltypes(), PLy_result_coltypmods(), PLyGenericObject_ToComposite(), PLyMapping_ToComposite(), PLySequence_ToComposite(), populate_record_worker(), populate_recordset_worker(), PortalSetResultFormat(), postgresPlanForeignModify(), printtup(), printtup_20(), printtup_internal_20(), record_cmp(), record_eq(), record_image_cmp(), record_image_eq(), record_in(), record_out(), record_recv(), record_send(), reform_and_rewrite_tuple(), RelationBuildLocalRelation(), ReorderBufferToastReplace(), resolve_polymorphic_tupdesc(), rowtype_field_matches(), security_barrier_replace_vars_walker(), SendRowDescriptionMessage(), set_relation_column_names(), slot_attisnull(), slot_getallattrs(), slot_getattr(), slot_getsomeattrs(), slotAllNulls(), slotNoNulls(), spgGetCache(), SPI_fname(), SPI_fnumber(), SPI_getbinval(), SPI_gettype(), SPI_gettypeid(), SPI_getvalue(), SPI_modifytuple(), SPI_sql_row_to_xmlelement(), StoreIndexTuple(), tlist_matches_tupdesc(), toast_delete(), toast_flatten_tuple(), toast_flatten_tuple_to_datum(), toast_insert_or_update(), transformIndexConstraint(), transformOfType(), transformTableLikeClause(), ts_stat_sql(), tsquery_rewrite_query(), tstoreReceiveSlot_detoast(), tstoreStartupReceiver(), tuple_to_stringinfo(), tupledesc_match(), TupleDescCopyEntry(), TupleDescGetAttInMetadata(), TupleDescInitEntry(), TupleDescInitEntryCollation(), TypeGetTupleDesc(), union_tuples(), validate_pkattnums(), validateConnectbyTupleDesc(), ValuesNext(), and xpath_table().


The documentation for this struct was generated from the following file: