|
PostgreSQL Source Code git master
|
#include "access/htup.h"#include "access/transam.h"#include "access/tupdesc.h"#include "access/tupmacs.h"#include "storage/bufpage.h"#include "varatt.h"

Go to the source code of this file.
Data Structures | |
| struct | HeapTupleFields |
| struct | DatumTupleFields |
| struct | HeapTupleHeaderData |
| struct | MinimalTupleData |
Typedefs | |
| typedef struct HeapTupleFields | HeapTupleFields |
| typedef struct DatumTupleFields | DatumTupleFields |
| #define FIELDNO_HEAPTUPLEHEADERDATA_BITS 5 |
Definition at line 177 of file htup_details.h.
| #define FIELDNO_HEAPTUPLEHEADERDATA_HOFF 4 |
Definition at line 172 of file htup_details.h.
| #define FIELDNO_HEAPTUPLEHEADERDATA_INFOMASK 3 |
Definition at line 169 of file htup_details.h.
| #define FIELDNO_HEAPTUPLEHEADERDATA_INFOMASK2 2 |
Definition at line 166 of file htup_details.h.
| #define HEAP2_XACT_MASK 0xE000 /* visibility-related bits */ |
Definition at line 293 of file htup_details.h.
Definition at line 195 of file htup_details.h.
Definition at line 192 of file htup_details.h.
Definition at line 190 of file htup_details.h.
Definition at line 193 of file htup_details.h.
Definition at line 191 of file htup_details.h.
Definition at line 290 of file htup_details.h.
| #define HEAP_KEYS_UPDATED |
Definition at line 289 of file htup_details.h.
| #define HEAP_LOCK_MASK |
Definition at line 202 of file htup_details.h.
| #define HEAP_MOVED (HEAP_MOVED_OFF | HEAP_MOVED_IN) |
Definition at line 213 of file htup_details.h.
| #define HEAP_MOVED_IN |
Definition at line 212 of file htup_details.h.
| #define HEAP_MOVED_OFF |
Definition at line 211 of file htup_details.h.
Definition at line 287 of file htup_details.h.
Definition at line 291 of file htup_details.h.
| #define HEAP_TUPLE_HAS_MATCH HEAP_ONLY_TUPLE /* tuple has a join match */ |
Definition at line 301 of file htup_details.h.
Definition at line 210 of file htup_details.h.
| #define HEAP_XACT_MASK 0xFFF0 /* visibility-related bits */ |
Definition at line 215 of file htup_details.h.
| #define HEAP_XMAX_BITS |
Definition at line 281 of file htup_details.h.
| #define HEAP_XMAX_COMMITTED 0x0400 /* t_xmax committed */ |
Definition at line 207 of file htup_details.h.
Definition at line 196 of file htup_details.h.
Definition at line 208 of file htup_details.h.
| #define HEAP_XMAX_IS_MULTI 0x1000 /* t_xmax is a MultiXactId */ |
Definition at line 209 of file htup_details.h.
Definition at line 194 of file htup_details.h.
Definition at line 197 of file htup_details.h.
| #define HEAP_XMAX_SHR_LOCK (HEAP_XMAX_EXCL_LOCK | HEAP_XMAX_KEYSHR_LOCK) |
Definition at line 200 of file htup_details.h.
| #define HEAP_XMIN_COMMITTED 0x0100 /* t_xmin committed */ |
Definition at line 204 of file htup_details.h.
| #define HEAP_XMIN_FROZEN (HEAP_XMIN_COMMITTED|HEAP_XMIN_INVALID) |
Definition at line 206 of file htup_details.h.
Definition at line 205 of file htup_details.h.
| #define HeapTupleHeaderGetNatts | ( | tup | ) | ((tup)->t_infomask2 & HEAP_NATTS_MASK) |
Definition at line 563 of file htup_details.h.
| #define HeapTupleHeaderHasExternal | ( | tup | ) | (((tup)->t_infomask & HEAP_HASEXTERNAL) != 0) |
Definition at line 571 of file htup_details.h.
Definition at line 566 of file htup_details.h.
| #define MaxAttrSize (10 * 1024 * 1024) |
Definition at line 621 of file htup_details.h.
| #define MaxHeapAttributeNumber 1600 /* 8 * 200 */ |
Definition at line 48 of file htup_details.h.
| #define MaxHeapTupleSize (BLCKSZ - MAXALIGN(SizeOfPageHeaderData + sizeof(ItemIdData))) |
Definition at line 596 of file htup_details.h.
| #define MaxHeapTuplesPerPage |
| #define MaxTupleAttributeNumber 1664 /* 8 * 208 */ |
Definition at line 34 of file htup_details.h.
| #define MinHeapTupleSize MAXALIGN(SizeofHeapTupleHeader) |
Definition at line 597 of file htup_details.h.
| #define MINIMAL_TUPLE_DATA_OFFSET offsetof(MinimalTupleData, t_infomask2) |
Definition at line 659 of file htup_details.h.
| #define MINIMAL_TUPLE_OFFSET ((offsetof(HeapTupleHeaderData, t_infomask2) - sizeof(uint32)) / MAXIMUM_ALIGNOF * MAXIMUM_ALIGNOF) |
Definition at line 655 of file htup_details.h.
| #define MINIMAL_TUPLE_PADDING ((offsetof(HeapTupleHeaderData, t_infomask2) - sizeof(uint32)) % MAXIMUM_ALIGNOF) |
Definition at line 657 of file htup_details.h.
| #define SizeofHeapTupleHeader offsetof(HeapTupleHeaderData, t_bits) |
Definition at line 185 of file htup_details.h.
| #define SizeofMinimalTupleHeader offsetof(MinimalTupleData, t_bits) |
Definition at line 685 of file htup_details.h.
Definition at line 580 of file htup_details.h.
References fb().
Referenced by brin_form_placeholder_tuple(), brin_form_tuple(), check_tuple_header(), ER_get_flat_size(), expand_tuple(), heap_form_minimal_tuple(), heap_form_tuple(), heap_page_items(), heap_toast_insert_or_update(), heapam_relation_needs_toast_table(), slot_deform_heap_tuple(), toast_flatten_tuple_to_datum(), and tuple_data_split().
|
inlinestatic |
Definition at line 847 of file htup_details.h.
References Assert, att_isnull(), attnum, fb(), fetchatt, HeapTupleNoNulls(), nocachegetattr(), and TupleDescCompactAttr().
Referenced by AttrDefaultFetch(), CatalogCacheComputeTupleHashValue(), check_toast_tuple(), CheckNNConstraintFetch(), extractRelOptions(), heap_fetch_toast_slice(), heap_getattr(), load_domaintype_info(), MergeWithExistingConstraint(), pg_get_triggerdef_worker(), RelationBuildTriggers(), RelationGetExclusionInfo(), RelationInitIndexAccessInfo(), ReorderBufferToastAppendChunk(), and ReorderBufferToastReplace().
Definition at line 151 of file heaptuple.c.
References Assert, attnum, datumCopy(), DatumGetPointer(), fb(), HASH_ENTER, hash_search(), init_missing_cache(), MemoryContextSwitchTo(), missing_cache, PointerGetDatum(), TopMemoryContext, TupleDescCompactAttr(), missing_cache_key::value, and VARSIZE_ANY().
Referenced by heap_deform_tuple(), and heap_getattr().
|
inlinestatic |
Definition at line 714 of file htup_details.h.
References HeapTupleData::t_data, and HeapTupleHeaderData::t_hoff.
Referenced by _int_matchsel(), aclitemout(), add_cast_to(), add_function_cost(), AddEnumLabel(), AddRoleMems(), AdjustNotNullInheritance(), AfterTriggerSetState(), agg_args_support_sendreceive(), AggregateCreate(), AlterCollation(), AlterConstraintNamespaces(), AlterConstrDeferrabilityRecurse(), AlterConstrTriggerDeferrability(), AlterConstrUpdateConstraintEntry(), AlterDatabase(), AlterDatabaseOwner(), AlterDatabaseRefreshColl(), AlterDomainAddConstraint(), AlterDomainDefault(), AlterDomainDropConstraint(), AlterDomainNotNull(), AlterDomainValidateConstraint(), AlterEventTrigger(), AlterEventTriggerOwner(), AlterEventTriggerOwner_internal(), AlterExtensionNamespace(), AlterFKConstrEnforceabilityRecurse(), AlterForeignDataWrapper(), AlterForeignDataWrapperOwner(), AlterForeignDataWrapperOwner_internal(), AlterForeignServer(), AlterForeignServerOwner(), AlterForeignServerOwner_internal(), AlterFunction(), AlterObjectNamespace_internal(), AlterObjectRename_internal(), AlterOperator(), AlterOpFamily(), AlterPolicy(), AlterPublication(), AlterPublicationAllFlags(), AlterPublicationOptions(), AlterPublicationOwner(), AlterPublicationOwner_internal(), AlterPublicationSchemas(), AlterPublicationTables(), AlterRelationNamespaceInternal(), AlterRole(), AlterRoleSet(), AlterSchemaOwner(), AlterSchemaOwner_internal(), AlterSeqNamespaces(), AlterSequence(), AlterSubscription(), AlterSubscriptionOwner(), AlterSubscriptionOwner_internal(), AlterTableMoveAll(), AlterTableSpaceOptions(), AlterTSConfiguration(), AlterTSDictionary(), AlterType(), AlterTypeNamespaceInternal(), AlterTypeOwner(), AlterTypeOwner_oid(), AlterTypeOwnerInternal(), AlterTypeRecurse(), amvalidate(), appendFunctionName(), appendOrderBySuffix(), ApplyExtensionUpdates(), assignOperTypes(), assignProcTypes(), ATAddForeignKeyConstraint(), ATDetachCheckNoForeignKeyRefs(), ATExecAddColumn(), ATExecAddIdentity(), ATExecAddOf(), ATExecAlterCheckConstrEnforceability(), ATExecAlterColumnGenericOptions(), ATExecAlterColumnType(), ATExecAlterConstraint(), ATExecAlterConstraintInternal(), ATExecAlterConstrDeferrability(), ATExecAlterConstrInheritability(), ATExecAlterFKConstrEnforceability(), ATExecChangeOwner(), ATExecDropColumn(), ATExecDropExpression(), ATExecDropIdentity(), ATExecDropNotNull(), ATExecDropOf(), ATExecForceNoForceRowSecurity(), ATExecGenericOptions(), ATExecSetAccessMethodNoStorage(), ATExecSetCompression(), ATExecSetExpression(), ATExecSetIdentity(), ATExecSetNotNull(), ATExecSetOptions(), ATExecSetRowSecurity(), ATExecSetStatistics(), ATExecSetStorage(), ATExecValidateConstraint(), ATPostAlterTypeCleanup(), ATPrepAlterColumnType(), ATPrepChangePersistence(), ATPrepDropExpression(), AttachPartitionForeignKey(), AttrDefaultFetch(), blvalidate(), booltestsel(), brinvalidate(), btvalidate(), build_coercion_expression(), build_datatype(), build_edge_vertex_link_quals(), build_function_result_tupdesc_t(), BuildDatabaseList(), BuildEventTriggerCache(), BuildRelationList(), cached_function_compile(), CacheInvalidateHeapTupleCommon(), CacheInvalidateRelcacheByTuple(), calc_arraycontsel(), calc_multirangesel(), calc_rangesel(), call_pltcl_start_proc(), change_owner_fix_column_acls(), change_owner_recurse_to_sequences(), changeDependenciesOf(), changeDependenciesOn(), changeDependencyFor(), check_amop_signature(), check_amproc_signature(), check_db_file_conflict(), check_default_text_search_config(), check_element_label_properties(), check_element_properties(), check_enable_rls(), check_for_column_name_collision(), check_object_ownership(), check_of_type(), check_role(), check_safe_enum_use(), check_session_authorization(), CheckAlterPublication(), checkDomainOwner(), checkEnumOwner(), CheckFunctionValidatorAccess(), CheckIndexCompatible(), CheckMyDatabase(), CheckNNConstraintFetch(), checkSharedDependencies(), clear_subscription_skip_lsn(), CloneFkReferenced(), CloneFkReferencing(), CloneRowTriggersToPartition(), CollationIsVisibleExt(), comparison_ops_are_compatible(), compatible_oper(), compile_plperl_function(), compile_pltcl_function(), compute_return_type(), ComputeIndexAttrs(), ComputePartitionAttrs(), constraints_equivalent(), ConstraintSetParentConstraint(), ConstructTupleDescriptor(), ConversionIsVisibleExt(), convert_column_name(), copy_table_data(), CopyStatistics(), copyTemplateDependencies(), create_pe_for_element(), create_pg_locale(), create_pg_locale_icu(), create_toast_table(), CreateCast(), CreateDatabaseUsingFileCopy(), CreateFunction(), CreateInheritance(), CreateProceduralLanguage(), CreateRole(), CreateSchemaCommand(), CreateStatistics(), CreateTransform(), CreateTriggerFiringOn(), database_is_invalid_oid(), decompile_conbin(), DefineCollation(), DefineDomain(), DefineIndex(), DefineOpClass(), DefineTSConfiguration(), DefineType(), deleteDependencyRecordsFor(), deleteDependencyRecordsForClass(), deleteDependencyRecordsForSpecific(), DeleteInheritsTuple(), DelRoleMems(), deparseOpExpr(), deparseScalarArrayOpExpr(), DetachPartitionFinalize(), do_autovacuum(), drop_parent_dependency(), DropClonedTriggersFromPartition(), DropConfigurationMapping(), dropconstraint_internal(), dropdb(), DropForeignKeyConstraintTriggers(), DropRole(), DropSubscription(), DropTableSpace(), EnableDisableRule(), EnableDisableTrigger(), enum_cmp_internal(), enum_endpoint(), enum_in(), enum_out(), enum_range_internal(), enum_recv(), enum_send(), eqjoinsel(), equality_ops_are_compatible(), errdatatype(), evaluate_function(), EventTriggerOnLogin(), EventTriggerSQLDropAddObject(), examine_attribute(), examine_attribute(), examine_expression(), exec_object_restorecon(), ExecAlterExtensionStmt(), ExecGrant_Attribute(), ExecGrant_Language_check(), ExecGrant_Largeobject(), ExecGrant_Relation(), ExecGrant_Type_check(), ExecInitAgg(), ExecuteCallStmt(), ExecuteDoStmt(), expand_all_col_privileges(), expand_function_arguments(), expand_vacuum_rel(), extended_statistics_update(), extract_autovac_opts(), extractNotNullColumn(), extractRelOptions(), fetch_agg_sort_op(), fetch_fp_info(), fetch_statentries_for_relation(), fillTypeDesc(), find_coercion_pathway(), find_composite_type_dependencies(), find_inheritance_children_extended(), find_typed_table_dependencies(), find_typmod_coercion_function(), FindDefaultConversion(), findDependentObjects(), findDomainNotNullConstraint(), findNotNullConstraintAttnum(), finish_heap_swap(), fixup_whole_row_references(), fmgr_info_cxt_security(), fmgr_info_other_lang(), fmgr_security_definer(), fmgr_sql_validator(), fmgr_symbol(), format_operator_extended(), format_operator_parts(), format_procedure_extended(), format_procedure_parts(), format_type_extended(), func_get_detail(), func_parallel(), func_strict(), func_volatile(), FuncNameAsType(), FuncnameGetCandidates(), FunctionIsVisibleExt(), generate_collation_name(), generate_function_name(), generate_operator_clause(), generate_operator_name(), generate_qualified_relation_name(), generate_qualified_type_name(), generate_relation_name(), generateClonedExtStatsStmt(), generateClonedIndexStmt(), GenerateTypeDependencies(), generic_restriction_selectivity(), get_all_vacuum_rels(), get_am_name(), get_am_type_oid(), get_and_validate_seq_info(), get_array_type(), get_attavgwidth(), get_attgenerated(), get_attname(), get_attnotnull(), get_attnum(), get_attstatsslot(), get_atttype(), get_atttypetypmodcoll(), get_base_element_type(), get_collation(), get_collation_isdeterministic(), get_collation_name(), get_commutator(), get_compatible_hash_operators(), get_constraint_index(), get_constraint_name(), get_constraint_type(), get_database_list(), get_database_name(), get_database_oid(), get_db_info(), get_default_partition_oid(), get_domain_constraint_oid(), get_edge_oid(), get_element_label_property_names(), get_element_property_expr(), get_element_relid(), get_element_type(), get_extension_name(), get_extension_schema(), get_func_arg_info(), get_func_leakproof(), get_func_name(), get_func_namespace(), get_func_nargs(), get_func_prokind(), get_func_retset(), get_func_rettype(), get_func_signature(), get_func_support(), get_func_variadictype(), get_function_rows(), get_graph_label_ids(), get_graph_property_ids(), get_index_column_opclass(), get_index_constraint(), get_index_isclustered(), get_index_isreplident(), get_index_isvalid(), get_index_ref_constraints(), get_label_element_label_ids(), get_labels_for_expr(), get_language_name(), get_mergejoin_opfamilies(), get_multirange_range(), get_namespace_name(), get_negator(), get_object_address_defacl(), get_object_address_opf_member(), get_object_address_type(), get_object_address_usermapping(), get_op_hash_functions(), get_op_index_interpretation(), get_op_opfamily_properties(), get_op_opfamily_sortfamily(), get_op_opfamily_strategy(), get_op_rettype(), get_opclass(), get_opclass_family(), get_opclass_input_type(), get_opclass_method(), get_opclass_name(), get_opclass_oid(), get_opclass_opfamily_and_input_type(), get_opcode(), get_opfamily_member(), get_opfamily_method(), get_opfamily_name(), get_opfamily_oid(), get_opfamily_proc(), get_opname(), get_oprjoin(), get_oprrest(), get_ordering_op_for_equality_op(), get_ordering_op_properties(), get_partition_parent_worker(), get_path_elements_for_path_factor(), get_pg_statistic_ext(), get_pkey_attnames(), get_primary_key_attnos(), get_propgraph_label_name(), get_propgraph_property_name(), get_publication_name(), get_publication_relations(), get_range_collation(), get_range_constructor2(), get_range_multirange(), get_range_subtype(), get_rel_name(), get_rel_namespace(), get_rel_persistence(), get_rel_relam(), get_rel_relispartition(), get_rel_relkind(), get_rel_tablespace(), get_rel_type_id(), get_relation_constraint_attnos(), get_relation_constraint_oid(), get_relation_idx_constraint_oid(), get_relation_policy_oid(), get_relation_publications(), get_relation_statistics(), get_relation_statistics_worker(), get_rels_with_domain(), get_rewrite_oid(), get_ri_constraint_root(), get_rolespec_name(), get_rte_attribute_is_dropped(), get_subscription_list(), get_subscription_name(), get_tables_to_repack(), get_tablespace_name(), get_tablespace_oid(), get_transform_fromsql(), get_transform_tosql(), get_trigger_oid(), get_typ_typrelid(), get_typbyval(), get_typcollation(), get_typdefault(), get_type_category_preferred(), get_type_io_data(), get_typisdefined(), get_typlen(), get_typlenbyval(), get_typlenbyvalalign(), get_typmodin(), get_typstorage(), get_typsubscript(), get_typtype(), get_variable_numdistinct(), get_variable_range(), get_vertex_oid(), GetAllPublicationRelations(), GetAllTablesPublications(), GetAttrDefaultColumnAddress(), GetAttrDefaultOid(), getAutoExtensionsOfObject(), getBaseTypeAndTypmod(), getConstraintTypeDescription(), GetDefaultOpClass(), getExtensionOfObject(), getExtensionType(), GetFdwRoutineByServerId(), GetForeignDataWrapperExtended(), GetForeignKeyActionTriggers(), GetForeignKeyCheckTriggers(), GetForeignServerExtended(), GetForeignServerIdByRelId(), GetForeignTable(), GetIndexAmRoutineByAmId(), getObjectDescription(), getObjectIdentityParts(), getOpFamilyDescription(), getOpFamilyIdentity(), getOwnedSequences_internal(), GetParentedForeignKeyRefs(), getProcedureTypeDescription(), GetPublication(), getPublicationSchemaInfo(), GetPublicationSchemas(), getRelationDescription(), getRelationIdentity(), getRelationsInNamespace(), getRelationTypeDescription(), GetSchemaPublicationRelations(), GetSchemaPublications(), GetSubscription(), GetSubscriptionRelations(), GetSubscriptionRelState(), getTypeBinaryInputInfo(), getTypeBinaryOutputInfo(), getTypeInputInfo(), getTypeIOParam(), getTypeOutputInfo(), GetUserMapping(), GetUserNameFromId(), ginvalidate(), gistvalidate(), has_bypassrls_privilege(), has_createrole_privilege(), has_rolreplication(), has_subclass(), hash_ok_operator(), hashvalidate(), HasSubscriptionTables(), have_createdb_privilege(), heap_drop_with_catalog(), heap_truncate_find_FKs(), identify_opfamily_groups(), index_build(), index_check_primary_key(), index_concurrently_swap(), index_constraint_create(), index_create(), index_get_partition(), index_set_state_flags(), index_update_stats(), indexam_property(), IndexGetRelation(), IndexSetParentIndex(), IndexSupportsBackwardScan(), init_database_collation(), initialize_peragg(), InitializeSessionUserId(), InitPostgres(), inline_function(), inline_function_in_from(), insert_property_record(), insert_property_records(), InsertRule(), internal_get_result_type(), interpret_function_parameter_list(), inv_getsize(), inv_read(), inv_truncate(), inv_write(), is_property_associated_with_label(), is_publishable_table(), is_table_publication(), IsBinaryCoercibleWithCast(), load_domaintype_info(), load_enum_cache_data(), load_rangetype_info(), load_relcache_init_file(), logicalrep_write_tuple(), logicalrep_write_typ(), LogicalRepSyncSequences(), lookup_C_func(), lookup_collation(), lookup_ts_config_cache(), lookup_ts_dictionary_cache(), lookup_ts_parser_cache(), lookup_type_cache(), LookupOpclassInfo(), LookupTypeNameOid(), make_inh_translation_list(), make_op(), make_propgraphdef_elements(), make_propgraphdef_labels(), make_propgraphdef_properties(), make_scalar_array_op(), makeConfigurationDependencies(), MakeConfigurationMapping(), makeDictionaryDependencies(), makeOperatorDependencies(), makeParserDependencies(), makeTSTemplateDependencies(), map_sql_table_to_xmlschema(), map_sql_type_to_xml_name(), mark_index_clustered(), MarkInheritDetached(), MatchNamedCall(), MergeAttributesIntoExisting(), MergeConstraintsIntoExisting(), mergejoinscansel(), MergeWithExistingConstraint(), neqjoinsel(), networkjoinsel_inner(), networkjoinsel_semi(), networksel(), nextval_internal(), nulltestsel(), objectsInSchemaToOids(), op_hashjoinable(), op_input_types(), op_is_safe_index_member(), op_mergejoinable(), opclass_for_family_datatype(), OpClassCacheLookup(), OpclassIsVisibleExt(), OperatorGet(), OperatorIsVisibleExt(), OperatorUpd(), OpernameGetCandidates(), OpernameGetOprid(), OpFamilyCacheLookup(), OpfamilyIsVisibleExt(), oprfuncid(), oprid(), ParseFuncOrColumn(), parseTypeString(), PartitionHasPendingDetach(), patternsel_common(), pg_attribute_aclcheck_all_ext(), pg_attribute_aclmask_ext(), pg_basetype(), pg_class_aclmask_ext(), pg_clear_extended_stats(), pg_collation_actual_version(), pg_database_collation_actual_version(), pg_get_constraintdef_worker(), pg_get_database_ddl_internal(), pg_get_function_arg_default(), pg_get_function_result(), pg_get_functiondef(), pg_get_indexdef_worker(), pg_get_partkeydef_worker(), pg_get_propgraphdef(), pg_get_role_ddl_internal(), pg_get_serial_sequence(), pg_get_statisticsobj_worker(), pg_get_statisticsobjdef_expressions(), pg_get_tablespace_ddl_internal(), pg_get_triggerdef_worker(), pg_get_userbyid(), pg_largeobject_aclmask_snapshot(), pg_namespace_aclmask_ext(), pg_nextoid(), pg_relation_filenode(), pg_relation_filepath(), pg_relation_is_publishable(), pg_sequence_parameters(), pg_type_aclmask_ext(), plan_member_revoke(), plan_recursive_revoke(), plan_single_revoke(), plperl_validator(), plpgsql_compile_callback(), plpgsql_parse_cwordtype(), plpgsql_validator(), plpython3_validator(), plsample_func_handler(), plsample_trigger_handler(), PLy_procedure_create(), populate_typ_list(), postgres_fdw_get_connections_internal(), prepare_column_cache(), prepare_sql_fn_parse_info(), preprocess_aggref(), preprocessNamespacePath(), print_function_arguments(), print_function_rettype(), print_function_sqlbody(), ProcedureCreate(), QueueCheckConstraintValidation(), QueueFKConstraintValidation(), QueueNNConstraintValidation(), RangeVarCallbackForAlterRelation(), RangeVarCallbackForAttachIndex(), RangeVarCallbackForDropRelation(), RangeVarCallbackForPolicy(), RangeVarCallbackForRenameAttribute(), RangeVarCallbackForRenameRule(), RangeVarCallbackForRenameTrigger(), RangeVarCallbackForStats(), RangeVarCallbackForTruncate(), RangeVarCallbackOwnsRelation(), read_seq_tuple(), recheck_cast_function_args(), record_C_func(), recordExtObjInitPriv(), refresh_by_match_merge(), regclassout(), regcollationout(), regconfigout(), regdictionaryout(), regoperout(), regprocout(), regtypeout(), reindex_index(), ReindexMultipleTables(), relation_mark_replica_identity(), relation_statistics_update(), RelationBuildDesc(), RelationBuildPartitionKey(), RelationBuildPublicationDesc(), RelationBuildRowSecurity(), RelationBuildRuleLock(), RelationBuildTriggers(), RelationBuildTupleDesc(), RelationCacheInitializePhase3(), RelationClearMissing(), RelationGetExclusionInfo(), RelationGetFKeyList(), RelationGetIndexList(), RelationGetNotNullConstraints(), RelationGetStatExtList(), relationHasPrimaryKey(), RelationInitIndexAccessInfo(), RelationInitPhysicalAddr(), RelationInitTableAccessMethod(), RelationIsVisibleExt(), RelationReloadIndexInfo(), RelationReloadNailed(), RelationSetNewRelfilenumber(), RelidByRelfilenumber(), RememberAllDependentForRebuilding(), remove_dbtablespaces(), RemoveAttrDefault(), RemoveAttrDefaultById(), RemoveAttributeById(), RemoveConstraintById(), removeExtObjInitPriv(), RemoveFunctionById(), RemoveInheritance(), RemoveInheritedConstraint(), RemoveOperatorById(), RemovePolicyById(), RemovePublicationById(), RemovePublicationRelById(), RemovePublicationSchemaById(), RemoveRewriteRuleById(), RemoveRoleFromObjectACL(), RemoveRoleFromObjectPolicy(), RemoveStatisticsById(), RemoveSubscriptionRel(), RemoveTriggerById(), RemoveTypeById(), rename_constraint_internal(), rename_policy(), renameatt_internal(), RenameConstraintById(), RenameDatabase(), RenameEnumLabel(), RenameRelationInternal(), RenameRewriteRule(), RenameRole(), RenameSchema(), RenameTableSpace(), renametrig(), renametrig_internal(), renametrig_partition(), RenameType(), RenameTypeInternal(), RenumberEnumType(), reorder_function_arguments(), replorigin_by_name(), replorigin_by_oid(), ResetRelRewrite(), ResetSequence(), ResolveOpClass(), ri_GenerateQualCollation(), ri_LoadConstraintInfo(), roles_is_member_of(), scalararraysel_containment(), scalarineqsel(), ScanSourceDatabasePgClassTuple(), SearchSysCacheAttName(), SearchSysCacheAttNum(), sepgsql_attribute_post_create(), sepgsql_database_post_create(), sepgsql_proc_post_create(), sepgsql_proc_setattr(), sepgsql_relation_drop(), sepgsql_relation_post_create(), sepgsql_relation_setattr(), sepgsql_schema_post_create(), sequence_options(), sequenceIsOwned(), set_attnotnull(), SetAttrMissing(), SetDatabaseHasLoginEventTriggers(), SetDefaultACL(), SetIndexStorageProperties(), SetMatViewPopulatedState(), SetRelationHasSubclass(), SetRelationNumChecks(), SetRelationRuleStatus(), SetRelationTableSpace(), SetSequence(), shdepChangeDep(), shdepDropDependency(), shdepDropOwned(), shdepReassignOwned(), simplify_function(), sort_order_cmp(), spgproperty(), spgvalidate(), SPI_gettype(), sql_compile_callback(), statatt_get_type(), statext_mcv_import(), StatisticsGetRelation(), StatisticsObjIsVisibleExt(), StoreAttrDefault(), StoreAttrMissingVal(), StorePartitionBound(), stringTypeDatum(), superuser_arg(), swap_relation_files(), table_recheck_autovac(), transformColumnDefinition(), transformColumnNameList(), transformColumnType(), transformFkeyCheckAttrs(), transformFkeyGetPrimaryKey(), transformFrameOffset(), transformGraphTablePropertyRef(), transformOfType(), triggered_change_notification(), TriggerSetParentTrigger(), tryAttachPartitionForeignKey(), TSConfigIsVisibleExt(), TSDictionaryIsVisibleExt(), TSParserIsVisibleExt(), tsquerysel(), TSTemplateIsVisibleExt(), TupleDescInitEntry(), typeByVal(), TypeCreate(), typeidTypeRelid(), typeInheritsFrom(), typeIsOfTypedTable(), TypeIsVisibleExt(), typeLen(), typenameType(), typenameTypeId(), typenameTypeIdAndMod(), typenameTypeMod(), typeOrDomainTypeRelid(), typeTypeCollation(), typeTypeId(), typeTypeName(), typeTypeRelid(), update_default_partition_oid(), update_relispartition(), vac_truncate_clog(), vac_update_datfrozenxid(), vac_update_relstats(), validatePartitionedIndex(), var_eq_const(), var_eq_non_const(), verify_dictoptions(), and verifyNotNullPKCompatible().
Definition at line 456 of file heaptuple.c.
References Assert, att_isnull(), attnum, elog, ERROR, fb(), HeapTupleHeaderGetNatts, HeapTupleNoNulls(), MaxCommandIdAttributeNumber, MaxTransactionIdAttributeNumber, MinCommandIdAttributeNumber, MinTransactionIdAttributeNumber, SelfItemPointerAttributeNumber, TableOidAttributeNumber, and TupleDescCompactAttr().
Referenced by AlterPublicationOptions(), AlterPublicationSchemas(), build_function_result_tupdesc_t(), check_index_is_clusterable(), check_modified_virtual_generated(), CheckIndexCompatible(), ExecEvalRowNullInt(), ExecuteCallStmt(), fmgr_info_cxt_security(), fmgr_symbol(), get_func_result_name(), index_drop(), inline_function(), inline_function_in_from(), IsIndexUsableForReplicaIdentityFull(), pg_get_indexdef_worker(), pg_get_partkeydef_worker(), pg_get_statisticsobj_worker(), pg_get_statisticsobjdef_expressions(), RelationGetDummyIndexExpressions(), RelationGetIndexExpressions(), RelationGetIndexList(), RelationGetIndexPredicate(), statext_is_kind_built(), and transformFkeyCheckAttrs().
|
extern |
Definition at line 219 of file heaptuple.c.
References att_addlength_datum, att_datum_alignby, att_nominal_alignby, COMPACT_ATTR_IS_PACKABLE, DatumGetEOHP(), DatumGetPointer(), EOH_get_flat_size(), fb(), i, TupleDescCompactAttr(), val, values, VARATT_CAN_MAKE_SHORT(), VARATT_CONVERTED_SHORT_SIZE(), and VARATT_IS_EXTERNAL_EXPANDED().
Referenced by brin_form_tuple(), ER_get_flat_size(), heap_form_minimal_tuple(), heap_form_tuple(), heap_toast_insert_or_update(), index_form_tuple_context(), spgFormLeafTuple(), SpGistGetLeafTupleSize(), and toast_flatten_tuple_to_datum().
|
extern |
Definition at line 1478 of file heaptuple.c.
References Assert, fb(), MAXALIGN, memcpy(), palloc(), and result.
Referenced by gm_readnext_tuple(), tts_minimal_copy_minimal_tuple(), tts_minimal_materialize(), tuplesort_gettupleslot(), tuplestore_gettupleslot(), and tuplestore_gettupleslot_force().
Definition at line 989 of file heaptuple.c.
References fb(), HeapTupleHasExternal(), HeapTupleHeaderSetDatumLength(), HeapTupleHeaderSetTypeId(), HeapTupleHeaderSetTypMod(), memcpy(), palloc(), PointerGetDatum(), HeapTupleData::t_data, HeapTupleData::t_len, and toast_flatten_tuple_to_datum().
Referenced by ExecEvalConvertRowtype(), ExecFetchSlotHeapTupleDatum(), import_pg_statistic(), PLyGenericObject_ToComposite(), PLyMapping_ToComposite(), PLySequence_ToComposite(), serialize_expr_stats(), and SPI_returntuple().
Definition at line 686 of file heaptuple.c.
References fb(), HeapTupleIsValid, HEAPTUPLESIZE, memcpy(), palloc(), HeapTupleData::t_data, HeapTupleData::t_len, HeapTupleData::t_self, and HeapTupleData::t_tableOid.
Referenced by AlterConstraintNamespaces(), AlterConstrTriggerDeferrability(), AlterConstrUpdateConstraintEntry(), AlterDomainValidateConstraint(), AlterExtensionNamespace(), AlterSequence(), AlterTypeOwner(), changeDependenciesOf(), changeDependenciesOn(), changeDependencyFor(), ConstraintSetParentConstraint(), CopyStatistics(), CreateTriggerFiringOn(), DefineIndex(), dropconstraint_internal(), EnableDisableTrigger(), ExecForceStoreHeapTuple(), expanded_record_set_tuple(), findDomainNotNullConstraint(), findNotNullConstraintAttnum(), get_catalog_object_by_oid_extended(), GetDatabaseTuple(), GetDatabaseTupleByOid(), index_concurrently_swap(), make_expanded_record_from_datum(), MarkInheritDetached(), MergeConstraintsIntoExisting(), MergeWithExistingConstraint(), QueueCheckConstraintValidation(), QueueFKConstraintValidation(), QueueNNConstraintValidation(), RelationInitIndexAccessInfo(), RemoveInheritance(), rename_policy(), RenameEnumLabel(), RenameTableSpace(), renametrig_internal(), RenumberEnumType(), ResetSequence(), rewrite_heap_tuple(), ScanPgRelation(), SearchSysCacheCopy(), SearchSysCacheCopyAttName(), SearchSysCacheCopyAttNum(), SearchSysCacheLockedCopy1(), shdepChangeDep(), SPI_copytuple(), statext_expressions_load(), systable_inplace_update_begin(), TriggerSetParentTrigger(), tts_buffer_heap_copy_heap_tuple(), tts_buffer_heap_materialize(), tts_heap_copy_heap_tuple(), tts_heap_materialize(), and tuplesort_putheaptuple().
Definition at line 712 of file heaptuple.c.
References fb(), HeapTupleIsValid, memcpy(), palloc(), HeapTupleData::t_data, HeapTupleData::t_len, HeapTupleData::t_self, and HeapTupleData::t_tableOid.
|
extern |
Definition at line 1254 of file heaptuple.c.
References align_fetch_then_add(), Assert, att_isnull(), att_nominal_alignby, attnum, fb(), fetch_att_noerr(), first_null_attr(), getmissingattr(), HeapTupleHasNulls(), HeapTupleHeaderGetNatts, Min, HeapTupleData::t_data, TupleDescCompactAttr(), and values.
Referenced by attribute_statistics_update(), deconstruct_expanded_record(), exec_move_row(), ExecEvalFieldStoreDeForm(), ExecForceStoreHeapTuple(), ExecForceStoreMinimalTuple(), ExecStoreHeapTupleDatum(), execute_attr_map_tuple(), ExtractReplicaIdentity(), hash_record(), hash_record_extended(), heap_modify_tuple(), heap_modify_tuple_by_cols(), heap_toast_delete(), heap_toast_insert_or_update(), hstore_from_record(), hstore_populate_record(), make_tuple_indirect(), populate_record(), record_cmp(), record_eq(), record_image_cmp(), record_image_eq(), record_out(), record_send(), reform_and_rewrite_tuple(), ReorderBufferToastReplace(), RI_Initial_Check(), RI_PartitionRemove_Check(), SPI_modifytuple(), toast_flatten_tuple(), and toast_flatten_tuple_to_datum().
Definition at line 974 of file heaptuple.c.
References expand_tuple(), and fb().
|
extern |
Definition at line 401 of file heaptuple.c.
References Assert, bit(), data, fb(), fill_val(), HEAP_HASEXTERNAL, HEAP_HASNULL, HEAP_HASVARWIDTH, HIGHBIT, i, PointerGetDatum(), start, TupleDescCompactAttr(), and values.
Referenced by brin_form_tuple(), ER_flatten_into(), heap_form_minimal_tuple(), heap_form_tuple(), heap_toast_insert_or_update(), index_form_tuple_context(), spgFormLeafTuple(), and toast_flatten_tuple_to_datum().
|
extern |
Definition at line 1390 of file heaptuple.c.
References Assert, BITMAPLEN(), ereport, errcode(), errmsg, ERROR, fb(), heap_compute_data_size(), heap_fill_tuple(), HeapTupleHeaderSetNatts, i, len, MAXALIGN, MaxTupleAttributeNumber, MINIMAL_TUPLE_OFFSET, palloc0(), SizeofMinimalTupleHeader, MinimalTupleData::t_bits, MinimalTupleData::t_hoff, MinimalTupleData::t_infomask, MinimalTupleData::t_len, and values.
Referenced by tts_minimal_materialize(), tts_virtual_copy_minimal_tuple(), and tuplestore_putvalues().
|
extern |
Definition at line 1025 of file heaptuple.c.
References BITMAPLEN(), ereport, errcode(), errmsg, ERROR, fb(), heap_compute_data_size(), heap_fill_tuple(), HeapTupleHeaderSetDatumLength(), HeapTupleHeaderSetNatts, HeapTupleHeaderSetTypeId(), HeapTupleHeaderSetTypMod(), HEAPTUPLESIZE, i, InvalidOid, ItemPointerSetInvalid(), len, MAXALIGN, MaxTupleAttributeNumber, palloc0(), HeapTupleHeaderData::t_bits, HeapTupleHeaderData::t_ctid, HeapTupleData::t_data, HeapTupleHeaderData::t_hoff, HeapTupleHeaderData::t_infomask, HeapTupleData::t_len, HeapTupleData::t_self, HeapTupleData::t_tableOid, and values.
Referenced by aclexplode(), AddEnumLabel(), AddRoleMems(), AddSubscriptionRelState(), AggregateCreate(), AlterSetting(), brin_metapage_info(), bt_page_print_tuples(), BuildTupleFromCStrings(), CastCreate(), CollationCreate(), ConversionCreate(), copy_replication_slot(), CopyToJsonOneRow(), CreateAccessMethod(), CreateComments(), CreateConstraintEntry(), createdb(), CreateForeignDataWrapper(), CreateForeignServer(), CreateForeignTable(), CreateOpFamily(), CreatePolicy(), CreateProceduralLanguage(), CreatePublication(), CreateRole(), CreateSharedComments(), CreateStatistics(), CreateSubscription(), CreateTableSpace(), CreateTransform(), CreateTriggerFiringOn(), CreateUserMapping(), DefineOpClass(), DefineSequence(), DefineTSConfiguration(), DefineTSDictionary(), DefineTSParser(), DefineTSTemplate(), each_object_field_end(), elements_array_element_end(), ExecEvalFieldStoreForm(), ExecEvalRow(), execute_attr_map_tuple(), expanded_record_get_tuple(), ExtractReplicaIdentity(), file_acquire_sample_rows(), fill_hba_line(), fill_ident_line(), gin_leafpage_items(), gin_metapage_info(), gin_page_opaque_info(), gist_page_opaque_info(), gistFetchTuple(), hash_bitmap_info(), hash_metapage_info(), hash_page_items(), hash_page_stats(), heap_modify_tuple(), heap_modify_tuple_by_cols(), heap_page_items(), heap_tuple_infomask_flags(), hstore_each(), hstore_populate_record(), import_pg_statistic(), insert_element_record(), insert_event_trigger_tuple(), insert_label_record(), insert_property_record(), InsertExtensionTuple(), InsertOneTuple(), InsertPgClassTuple(), InsertRule(), inv_truncate(), inv_write(), LargeObjectCreate(), make_tuple_from_result_row(), make_tuple_from_row(), make_tuple_indirect(), NamespaceCreate(), OperatorCreate(), OperatorShellMake(), page_header(), ParameterAclCreate(), pg_available_wal_summaries(), pg_backup_stop(), pg_buffercache_evict(), pg_buffercache_evict_all(), pg_buffercache_evict_relation(), pg_buffercache_mark_dirty(), pg_buffercache_mark_dirty_all(), pg_buffercache_mark_dirty_relation(), pg_buffercache_os_pages_internal(), pg_buffercache_pages(), pg_buffercache_summary(), pg_control_checkpoint(), pg_control_init(), pg_control_recovery(), pg_control_system(), pg_create_logical_replication_slot(), pg_create_physical_replication_slot(), pg_get_catalog_foreign_keys(), pg_get_logical_snapshot_info(), pg_get_logical_snapshot_meta(), pg_get_multixact_stats(), pg_get_object_address(), pg_get_publication_tables(), pg_get_sequence_data(), pg_get_wal_record_info(), pg_get_wal_summarizer_state(), pg_identify_object(), pg_identify_object_as_address(), pg_input_error_info(), pg_last_committed_xact(), pg_lock_status(), pg_partition_tree(), pg_prepared_xact(), pg_replication_slot_advance(), pg_sequence_parameters(), pg_split_walfile_name(), pg_stat_file(), pg_stat_get_archiver(), pg_stat_get_backend_subxact(), pg_stat_get_recovery(), pg_stat_get_replication_slot(), pg_stat_get_subscription_stats(), pg_stat_get_wal_receiver(), pg_stat_statements_info(), pg_stat_wal_build_tuple(), pg_stats_ext_mcvlist_items(), pg_timezone_abbrevs_abbrevs(), pg_timezone_abbrevs_zone(), pg_visibility(), pg_visibility_map(), pg_visibility_map_rel(), pg_visibility_map_summary(), pg_visibility_rel(), pg_wal_summary_contents(), pg_walfile_name_offset(), pg_xact_commit_timestamp_origin(), pgstatginindex_internal(), pgstathashindex(), pgstattuple_approx_internal(), plperl_build_tuple_result(), PLyGenericObject_ToComposite(), PLyMapping_ToComposite(), PLySequence_ToComposite(), populate_record(), ProcedureCreate(), publication_add_relation(), publication_add_schema(), RangeCreate(), record_in(), record_recv(), recordExtensionInitPrivWorker(), reform_and_rewrite_tuple(), ReorderBufferToastReplace(), replorigin_create(), report_corruption_internal(), serialize_expr_stats(), SetDefaultACL(), SetSecurityLabel(), SetSharedSecurityLabel(), shdepAddDependency(), shdepChangeDep(), SPI_modifytuple(), ssl_extension_info(), statext_store(), StoreAttrDefault(), storeGettuple(), storeOperators(), StorePartitionKey(), storeProcedures(), StoreSingleInheritance(), test_custom_stats_fixed_report(), test_custom_stats_var_report(), test_enc_conversion(), test_predtest(), test_saslprep(), test_saslprep_ranges(), toast_build_flattened_tuple(), toast_flatten_tuple(), toast_save_datum(), tsvector_unnest(), tts_buffer_heap_materialize(), tts_heap_materialize(), tts_virtual_copy_heap_tuple(), TypeCreate(), TypeShellMake(), update_attstats(), UpdateIndexRelation(), upsert_pg_statistic(), and upsert_pg_statistic_ext_data().
|
extern |
Definition at line 1466 of file heaptuple.c.
Referenced by ExecHashJoinImpl(), ExecHashSkewTableInsert(), ExecHashTableInsert(), ExecParallelHashJoinPartitionOuter(), ExecParallelHashTableInsert(), ExecParallelHashTableInsertCurrentBatch(), tts_minimal_clear(), and writetup_heap().
Definition at line 1372 of file heaptuple.c.
References pfree().
Referenced by acquire_inherited_sample_rows(), acquire_sample_rows(), AddEnumLabel(), AddSubscriptionRelState(), AfterTriggerExecute(), AlterCollation(), AlterConstrTriggerDeferrability(), AlterConstrUpdateConstraintEntry(), AlterDatabaseOwner(), AlterDatabaseRefreshColl(), AlterDomainDefault(), AlterDomainNotNull(), AlterDomainValidateConstraint(), AlterEventTrigger(), AlterEventTriggerOwner(), AlterEventTriggerOwner_oid(), AlterForeignDataWrapper(), AlterForeignDataWrapperOwner(), AlterForeignDataWrapperOwner_oid(), AlterForeignServer(), AlterForeignServerOwner(), AlterForeignServerOwner_oid(), AlterFunction(), AlterObjectRename_internal(), AlterPolicy(), AlterPublication(), AlterPublicationOwner(), AlterPublicationOwner_oid(), AlterRelationNamespaceInternal(), AlterRole(), AlterSchemaOwner_internal(), AlterStatistics(), AlterSubscription(), AlterSubscriptionOwner(), AlterSubscriptionOwner_oid(), AlterTableSpaceOptions(), AlterTSDictionary(), AlterTypeNamespaceInternal(), AlterUserMapping(), analyze_row_processor(), ATExecAddColumn(), ATExecAddIdentity(), ATExecAddOf(), ATExecAlterColumnGenericOptions(), ATExecAlterColumnType(), ATExecAlterConstrInheritability(), ATExecChangeOwner(), ATExecDropColumn(), ATExecDropExpression(), ATExecDropIdentity(), ATExecDropNotNull(), ATExecDropOf(), ATExecForceNoForceRowSecurity(), ATExecGenericOptions(), ATExecSetAccessMethodNoStorage(), ATExecSetCompression(), ATExecSetIdentity(), ATExecSetOptions(), ATExecSetRelOptions(), ATExecSetRowSecurity(), ATExecSetStatistics(), ATExecSetStorage(), ATPrepAddPrimaryKey(), build_tuplestore_recursively(), CastCreate(), CatalogCacheCreateEntry(), CatalogTuplesMultiInsertWithInfo(), change_owner_fix_column_acls(), changeDependenciesOf(), changeDependenciesOn(), changeDependencyFor(), clear_subscription_skip_lsn(), CollationCreate(), ConversionCreate(), copy_table_data(), CopyStatistics(), create_toast_table(), CreateAccessMethod(), CreateComments(), CreateForeignDataWrapper(), CreateForeignServer(), CreateForeignTable(), CreateOpFamily(), CreatePolicy(), CreatePublication(), CreateSharedComments(), CreateStatistics(), CreateSubscription(), CreateTableSpace(), CreateTransform(), CreateTriggerFiringOn(), CreateUserMapping(), crosstab(), DefineIndex(), DefineOpClass(), DefineSequence(), DefineTSConfiguration(), DefineTSDictionary(), DefineTSParser(), DefineTSTemplate(), DetachPartitionFinalize(), DisableSubscription(), dropconstraint_internal(), dropdb(), EnableDisableRule(), EnableDisableTrigger(), EventTriggerOnLogin(), examine_attribute(), examine_attribute(), examine_expression(), ExecBRDeleteTriggers(), ExecBRInsertTriggers(), ExecBRUpdateTriggers(), ExecForPortionOfLeftovers(), ExecIRDeleteTriggers(), ExecIRInsertTriggers(), ExecIRUpdateTriggers(), ExecReScanAgg(), ExecReScanIndexScan(), ExecScanSubPlan(), ExecSetParamPlan(), expanded_record_set_tuple(), extended_statistics_update(), ExtractReplicaIdentity(), file_acquire_sample_rows(), heap_delete(), heap_insert(), heap_update(), import_pg_statistic(), index_build(), index_concurrently_swap(), index_constraint_create(), index_update_stats(), insert_element_record(), insert_event_trigger_tuple(), insert_label_record(), insert_property_record(), InsertExtensionTuple(), InsertOneTuple(), InsertPgClassTuple(), InsertRule(), inv_truncate(), inv_write(), LargeObjectCreate(), mark_index_clustered(), MarkInheritDetached(), MergeAttributesIntoExisting(), MergeConstraintsIntoExisting(), OperatorShellMake(), ParameterAclCreate(), pg_clear_extended_stats(), PLyGenericObject_ToComposite(), PLyMapping_ToComposite(), PLySequence_ToComposite(), ProcedureCreate(), publication_add_relation(), publication_add_schema(), QueueCheckConstraintValidation(), QueueFKConstraintValidation(), QueueNNConstraintValidation(), RangeCreate(), raw_heap_insert(), record_in(), record_recv(), reform_and_rewrite_tuple(), relation_mark_replica_identity(), relation_statistics_update(), RelationBuildDesc(), RelationClearMissing(), RelationInitPhysicalAddr(), RelationReloadIndexInfo(), RelationReloadNailed(), RelationSetNewRelfilenumber(), RemoveConstraintById(), RemoveInheritance(), RemoveRoleFromObjectPolicy(), renameatt_internal(), RenameConstraintById(), RenameEnumLabel(), RenameRelationInternal(), RenameRewriteRule(), RenameSchema(), RenameTypeInternal(), RenumberEnumType(), replorigin_create(), ResetRelRewrite(), rewrite_heap_dead_tuple(), rewrite_heap_tuple(), set_attnotnull(), SetDatabaseHasLoginEventTriggers(), SetIndexStorageProperties(), SetMatViewPopulatedState(), SetRelationHasSubclass(), SetRelationNumChecks(), SetRelationRuleStatus(), SetRelationTableSpace(), SetSecurityLabel(), SetSharedSecurityLabel(), shdepAddDependency(), shdepChangeDep(), SPI_freetuple(), statext_store(), StoreAttrDefault(), storeOperators(), StorePartitionBound(), storeProcedures(), StoreSingleInheritance(), swap_relation_files(), table_recheck_autovac(), toast_save_datum(), TriggerSetParentTrigger(), tts_buffer_heap_clear(), tts_buffer_heap_store_tuple(), tts_heap_clear(), TypeShellMake(), update_attstats(), update_default_partition_oid(), update_relispartition(), UpdateDeadTupleRetentionStatus(), UpdateIndexRelation(), UpdateTwoPhaseState(), upsert_pg_statistic(), upsert_pg_statistic_ext_data(), vac_update_datfrozenxid(), validatePartitionedIndex(), and xpath_table().
|
inlinestatic |
Definition at line 890 of file htup_details.h.
References attnum, fastgetattr(), fb(), getmissingattr(), heap_getsysattr(), and HeapTupleHeaderGetNatts.
Referenced by AlterDatabaseOwner(), AlterDatabaseRefreshColl(), AlterForeignDataWrapperOwner_internal(), AlterForeignServerOwner_internal(), AlterObjectNamespace_internal(), AlterObjectOwner_internal(), AlterObjectRename_internal(), AlterPolicy(), AlterSetting(), AlterTableSpaceOptions(), AlterTypeOwnerInternal(), ApplySetting(), ATExecAlterColumnType(), BuildEventTriggerCache(), CatalogCacheCreateEntry(), change_owner_fix_column_acls(), check_element_properties(), CloneRowTriggersToPartition(), comparetup_cluster_tiebreak(), comparetup_heap_tiebreak(), composite_to_json(), composite_to_jsonb(), decompile_conbin(), ExecAlterExtensionStmt(), ExecEvalFieldSelect(), ExecGrant_Largeobject(), ExecScanSubPlan(), ExecSetParamPlan(), extension_config_remove(), GenerateTypeDependencies(), get_primary_key_attnos(), get_relation_constraint_attnos(), GetAttributeByName(), GetAttributeByNum(), GetComment(), GetSecurityLabel(), GetSharedSecurityLabel(), GetSysCacheOid(), HeapDetermineColumnsInfo(), HeapKeyTest(), make_build_data(), make_propgraphdef_elements(), make_propgraphdef_properties(), object_ownercheck(), obtain_object_name_namespace(), pg_event_trigger_ddl_commands(), pg_extension_config_dump(), pg_get_acl(), pg_get_database_ddl_internal(), pg_get_role_ddl_internal(), pg_identify_object(), pg_largeobject_aclmask_snapshot(), plperl_hash_from_tuple(), pltcl_build_tuple_argument(), pltcl_set_tuple_values(), PLyDict_FromTuple(), readtup_cluster(), readtup_heap(), recordExtensionInitPrivWorker(), recordExtObjInitPriv(), RelationBuildPartitionDesc(), RelationBuildRowSecurity(), RelationBuildRuleLock(), RelationBuildTupleDesc(), RelationGetDummyIndexExpressions(), RelationGetIndexAttrBitmap(), RelationGetIndexExpressions(), RelationGetIndexPredicate(), removeabbrev_cluster(), removeabbrev_heap(), RemoveRoleFromInitPriv(), RemoveRoleFromObjectPolicy(), RenameRole(), ReplaceRoleInInitPriv(), sepgsql_relation_setattr_extra(), SPI_getbinval(), SPI_getvalue(), std_fetch_func(), SysCacheGetAttr(), tuple_to_stringinfo(), tuplesort_putheaptuple(), and tuplesort_puttupleslot().
Definition at line 633 of file heaptuple.c.
References Assert, attnum, CommandIdGetDatum(), elog, ERROR, fb(), HeapTupleHeaderGetRawCommandId(), HeapTupleHeaderGetRawXmax(), HeapTupleHeaderGetRawXmin(), MaxCommandIdAttributeNumber, MaxTransactionIdAttributeNumber, MinCommandIdAttributeNumber, MinTransactionIdAttributeNumber, ObjectIdGetDatum(), PointerGetDatum(), result, SelfItemPointerAttributeNumber, TableOidAttributeNumber, and TransactionIdGetDatum().
Referenced by expanded_record_fetch_field(), heap_getattr(), tts_buffer_heap_getsysattr(), and tts_heap_getsysattr().
Definition at line 251 of file htup_details.h.
References fb(), HEAP_XMAX_EXCL_LOCK, HEAP_XMAX_IS_MULTI, HEAP_XMAX_KEYSHR_LOCK, and HEAP_XMAX_LOCK_ONLY.
Referenced by compute_new_xmax_infomask(), Do_MultiXactIdWait(), DoesMultiXactIdConflict(), FreezeMultiXactId(), heap_lock_updated_tuple_rec(), heap_tuple_should_freeze(), heap_update(), HeapTupleSatisfiesUpdate(), HeapTupleSatisfiesVacuumHorizon(), and pgrowlocks().
|
extern |
Definition at line 1118 of file heaptuple.c.
References fb(), heap_deform_tuple(), heap_form_tuple(), palloc_array, pfree(), HeapTupleHeaderData::t_ctid, HeapTupleData::t_data, HeapTupleData::t_self, HeapTupleData::t_tableOid, and values.
Referenced by AddRoleMems(), AggregateCreate(), AlterCollation(), AlterDatabase(), AlterDatabaseOwner(), AlterDatabaseRefreshColl(), AlterDomainDefault(), AlterForeignDataWrapper(), AlterForeignDataWrapperOwner_internal(), AlterForeignServer(), AlterForeignServerOwner_internal(), AlterFunction(), AlterObjectNamespace_internal(), AlterObjectOwner_internal(), AlterObjectRename_internal(), AlterOperator(), AlterPolicy(), AlterPublicationAllFlags(), AlterPublicationOptions(), AlterRole(), AlterSchemaOwner_internal(), AlterSetting(), AlterStatistics(), AlterSubscription(), AlterTableSpaceOptions(), AlterTSDictionary(), AlterTypeOwnerInternal(), AlterTypeRecurse(), AlterUserMapping(), ApplyExtensionUpdates(), ATExecAlterColumnGenericOptions(), ATExecAlterColumnType(), ATExecChangeOwner(), ATExecGenericOptions(), ATExecSetOptions(), ATExecSetRelOptions(), ATExecSetStatistics(), change_owner_fix_column_acls(), clear_subscription_skip_lsn(), CreateComments(), CreateProceduralLanguage(), CreateSharedComments(), CreateTransform(), DelRoleMems(), DetachPartitionFinalize(), DisableSubscription(), ExecGrant_Attribute(), ExecGrant_common(), ExecGrant_Largeobject(), ExecGrant_Parameter(), ExecGrant_Relation(), extension_config_remove(), index_concurrently_swap(), InsertRule(), inv_truncate(), inv_write(), MakeConfigurationMapping(), movedb(), OperatorCreate(), pg_extension_config_dump(), plperl_modify_tuple(), PLy_modify_tuple(), ProcedureCreate(), recordExtensionInitPrivWorker(), RelationClearMissing(), RemoveAttributeById(), RemoveRoleFromInitPriv(), RemoveRoleFromObjectPolicy(), RenameRole(), ReplaceRoleInInitPriv(), SetAttrMissing(), SetDefaultACL(), SetSecurityLabel(), SetSharedSecurityLabel(), StoreAttrDefault(), StoreAttrMissingVal(), StorePartitionBound(), TypeCreate(), update_attstats(), UpdateDeadTupleRetentionStatus(), UpdateSubscriptionRelState(), UpdateTwoPhaseState(), upsert_pg_statistic(), and upsert_pg_statistic_ext_data().
|
extern |
Definition at line 1186 of file heaptuple.c.
References attnum, elog, ERROR, fb(), heap_deform_tuple(), heap_form_tuple(), i, palloc_array, pfree(), HeapTupleHeaderData::t_ctid, HeapTupleData::t_data, HeapTupleData::t_self, HeapTupleData::t_tableOid, and values.
Referenced by autoinc(), check_modified_virtual_generated(), insert_username(), moddatetime(), relation_statistics_update(), and tsvector_update_trigger().
|
extern |
Definition at line 1501 of file heaptuple.c.
References fb(), HEAPTUPLESIZE, InvalidOid, ItemPointerSetInvalid(), len, memcpy(), MINIMAL_TUPLE_OFFSET, palloc(), result, and HeapTupleData::t_len.
Referenced by tts_minimal_copy_heap_tuple().
Definition at line 269 of file htup_details.h.
Referenced by compute_new_xmax_infomask(), heap_lock_tuple(), heap_lock_updated_tuple_rec(), and pgrowlocks().
Definition at line 275 of file htup_details.h.
Referenced by compute_new_xmax_infomask(), heap_inplace_lock(), heap_lock_tuple(), heap_lock_updated_tuple_rec(), heap_update(), and pgrowlocks().
Definition at line 226 of file htup_details.h.
References fb(), HEAP_LOCK_MASK, HEAP_XMAX_EXCL_LOCK, HEAP_XMAX_IS_MULTI, and HEAP_XMAX_LOCK_ONLY.
Referenced by check_tuple_visibility(), compute_new_xmax_infomask(), Do_MultiXactIdWait(), DoesMultiXactIdConflict(), FreezeMultiXactId(), heap_delete(), heap_lock_tuple(), heap_lock_updated_tuple_rec(), heap_prepare_freeze_tuple(), heap_tuple_should_freeze(), heap_update(), heap_xlog_lock(), HeapTupleIsSurelyDead(), HeapTupleSatisfiesDirty(), HeapTupleSatisfiesHistoricMVCC(), HeapTupleSatisfiesMVCC(), HeapTupleSatisfiesSelf(), HeapTupleSatisfiesUpdate(), HeapTupleSatisfiesVacuumHorizon(), log_heap_new_cid(), logical_rewrite_heap_tuple(), and UpdateXmaxHintBits().
Definition at line 263 of file htup_details.h.
Referenced by compute_new_xmax_infomask(), heap_lock_tuple(), heap_lock_updated_tuple_rec(), and pgrowlocks().
|
inlinestatic |
Definition at line 742 of file htup_details.h.
References HEAP_HASVARWIDTH, HeapTupleData::t_data, and HeapTupleHeaderData::t_infomask.
|
inlinestatic |
Definition at line 784 of file htup_details.h.
References HeapTupleHeaderSetHeapOnly(), and HeapTupleData::t_data.
Referenced by heap_update().
|
inlinestatic |
Definition at line 766 of file htup_details.h.
References HeapTupleHeaderSetHotUpdated(), and HeapTupleData::t_data.
Referenced by heap_update().
|
inlinestatic |
Definition at line 748 of file htup_details.h.
References HeapTupleHasVarWidth().
Referenced by CatalogCacheCreateEntry(), check_domain_for_new_tuple(), expanded_record_set_tuple(), ExtractReplicaIdentity(), heap_abort_speculative(), heap_copy_tuple_as_datum(), heap_delete(), heap_prepare_insert(), heap_update(), and raw_heap_insert().
|
inlinestatic |
Definition at line 724 of file htup_details.h.
Referenced by expand_tuple(), heap_deform_tuple(), HeapTupleHasVarWidth(), inv_getsize(), inv_read(), inv_truncate(), inv_write(), nocachegetattr(), and slot_deform_heap_tuple().
|
inlinestatic |
Definition at line 736 of file htup_details.h.
References HeapTupleHasNulls().
Referenced by HeapTupleHasExternal(), and nocachegetattr().
|
inlinestatic |
Definition at line 553 of file htup_details.h.
References fb(), and HEAP_ONLY_TUPLE.
|
inlinestatic |
Definition at line 535 of file htup_details.h.
References fb(), and HEAP_HOT_UPDATED.
Referenced by heap_delete(), heap_lock_tuple(), heap_xlog_delete(), heap_xlog_lock(), heap_xlog_update(), and HeapTupleIsHeapOnly().
|
inlinestatic |
Definition at line 704 of file htup_details.h.
References fb(), HEAP_TUPLE_HAS_MATCH, and MinimalTupleData::t_infomask2.
Referenced by ExecHashSkewTableInsert(), ExecHashTableInsert(), ExecHashTableResetMatchFlags(), ExecParallelHashTableInsert(), and ExecParallelHashTableInsertCurrentBatch().
|
inlinestatic |
Definition at line 478 of file htup_details.h.
References fb(), and ItemPointerSetMovedPartitions().
Referenced by composite_to_json(), composite_to_jsonb(), deconstruct_composite_datum(), exec_move_row_from_datum(), ExecEvalConvertRowtype(), ExecEvalFieldSelect(), ExecEvalFieldStoreDeForm(), ExecEvalRowNullInt(), ExecMakeTableFunctionResult(), ExecModifyTable(), ExecStoreHeapTupleDatum(), ExecuteCallStmt(), GetAttributeByName(), GetAttributeByNum(), hash_record(), hash_record_extended(), HeapTupleHeaderGetDatum(), hstore_from_record(), hstore_populate_record(), make_expanded_record_from_datum(), make_tuple_indirect(), plperl_hash_from_datum(), pltcl_func_handler(), PLyDict_FromComposite(), populate_record(), populate_recordset_record(), record_cmp(), record_eq(), record_image_cmp(), record_image_eq(), record_out(), record_send(), and statext_expressions_load().
|
inlinestatic |
Definition at line 401 of file htup_details.h.
Referenced by heap_getsysattr(), heap_page_items(), HeapTupleHeaderGetCmax(), HeapTupleHeaderGetCmin(), HeapTupleSatisfiesHistoricMVCC(), and log_heap_new_cid().
|
inlinestatic |
Definition at line 363 of file htup_details.h.
Referenced by check_tuple_visibility(), heap_delete(), heap_getsysattr(), heap_inplace_lock(), heap_lock_tuple(), heap_lock_updated_tuple_rec(), heap_page_items(), heap_pre_freeze_checks(), heap_prepare_freeze_tuple(), heap_tuple_needs_eventual_freeze(), heap_tuple_should_freeze(), heap_update(), HeapTupleGetUpdateXid(), HeapTupleHeaderGetUpdateXid(), HeapTupleHeaderIsOnlyLocked(), HeapTupleIsSurelyDead(), HeapTupleSatisfiesDirty(), HeapTupleSatisfiesHistoricMVCC(), HeapTupleSatisfiesMVCC(), HeapTupleSatisfiesSelf(), HeapTupleSatisfiesUpdate(), HeapTupleSatisfiesVacuumHorizon(), log_heap_update(), pgrowlocks(), read_seq_tuple(), and UpdateXmaxHintBits().
|
inlinestatic |
Definition at line 318 of file htup_details.h.
Referenced by cached_function_compile(), compile_plperl_function(), compile_pltcl_function(), heap_getsysattr(), heap_page_items(), heap_pre_freeze_checks(), HeapTupleHeaderAdjustCmax(), HeapTupleSatisfiesDirty(), HeapTupleSatisfiesMVCC(), HeapTupleSatisfiesSelf(), HeapTupleSatisfiesUpdate(), HeapTupleSatisfiesVacuumHorizon(), lookup_C_func(), PLy_procedure_create(), PLy_procedure_valid(), record_C_func(), tts_buffer_is_current_xact_tuple(), tts_heap_is_current_xact_tuple(), and validate_plperl_function().
|
inlinestatic |
Definition at line 453 of file htup_details.h.
References fb(), ItemPointerGetOffsetNumberNoCheck(), and SpecTokenOffsetNumber.
Referenced by HeapTupleSatisfiesDirty().
|
inlinestatic |
Definition at line 490 of file htup_details.h.
References fb(), len, and SET_VARSIZE().
Referenced by composite_to_json(), composite_to_jsonb(), deconstruct_composite_datum(), exec_move_row_from_datum(), ExecEvalConvertRowtype(), ExecEvalFieldSelect(), ExecEvalRowNullInt(), ExecMakeTableFunctionResult(), ExecuteCallStmt(), get_expr_result_type(), GetAttributeByName(), GetAttributeByNum(), hash_record(), hash_record_extended(), HeapTupleHeaderGetDatum(), hstore_from_record(), hstore_populate_record(), make_expanded_record_from_datum(), make_tuple_indirect(), plperl_hash_from_datum(), pltcl_func_handler(), PLyDict_FromComposite(), populate_record_worker(), populate_recordset_worker(), record_cmp(), record_eq(), record_image_cmp(), record_image_eq(), record_out(), and record_send().
|
inlinestatic |
Definition at line 502 of file htup_details.h.
References fb().
Referenced by composite_to_json(), composite_to_jsonb(), deconstruct_composite_datum(), exec_move_row_from_datum(), ExecEvalFieldSelect(), ExecEvalRowNullInt(), ExecMakeTableFunctionResult(), ExecuteCallStmt(), get_expr_result_type(), GetAttributeByName(), GetAttributeByNum(), hash_record(), hash_record_extended(), HeapTupleHeaderGetDatum(), hstore_from_record(), hstore_populate_record(), make_expanded_record_from_datum(), make_tuple_indirect(), plperl_hash_from_datum(), pltcl_func_handler(), PLyDict_FromComposite(), populate_record_worker(), populate_recordset_worker(), record_cmp(), record_eq(), record_image_cmp(), record_image_eq(), record_out(), and record_send().
|
inlinestatic |
Definition at line 383 of file htup_details.h.
References fb(), HEAP_XMAX_INVALID, HEAP_XMAX_IS_MULTI, HEAP_XMAX_LOCK_ONLY, HeapTupleGetUpdateXid(), and HeapTupleHeaderGetRawXmax().
Referenced by check_tuple_header(), heap_delete(), heap_get_latest_tid(), heap_get_root_tuples(), heap_hot_search_buffer(), heap_index_delete_tuples(), heap_lock_tuple(), heap_lock_updated_tuple_rec(), heap_prune_chain(), heap_prune_record_unchanged_lp_normal(), heap_update(), heapam_index_build_range_scan(), heapam_relation_copy_for_cluster(), heapam_scan_analyze_next_tuple(), heapam_tuple_lock(), HeapCheckForSerializableConflictOut(), HeapTupleHeaderAdvanceConflictHorizon(), HeapTupleHeaderGetCmax(), HeapTupleSatisfiesVacuumHorizon(), logical_rewrite_heap_tuple(), rewrite_heap_tuple(), update_most_recent_deletion_info(), and verify_heapam().
|
inlinestatic |
Definition at line 324 of file htup_details.h.
References fb().
Referenced by BitmapHeapScanNextBlock(), bt_check_every_level(), check_safe_enum_use(), check_tuple_visibility(), find_inheritance_children_extended(), get_relation_info(), heap_fetch(), heap_get_latest_tid(), heap_get_root_tuples(), heap_hot_search_buffer(), heap_index_delete_tuples(), heap_lock_updated_tuple_rec(), heap_page_would_be_all_visible(), heap_prepare_freeze_tuple(), heap_prune_chain(), heap_prune_record_unchanged_lp_normal(), heap_tuple_needs_eventual_freeze(), heap_tuple_should_freeze(), heapam_index_build_range_scan(), heapam_relation_copy_for_cluster(), heapam_scan_analyze_next_tuple(), heapam_tuple_lock(), HeapCheckForSerializableConflictOut(), HeapTupleHeaderAdvanceConflictHorizon(), HeapTupleHeaderGetCmin(), HeapTupleSatisfiesHistoricMVCC(), HeapTupleSatisfiesToast(), IsIndexUsableForFindingDeletedTuple(), logical_rewrite_heap_tuple(), RelationReloadIndexInfo(), rewrite_heap_dead_tuple(), rewrite_heap_tuple(), tuple_all_visible(), and verify_heapam().
|
inlinestatic |
Definition at line 428 of file htup_details.h.
Referenced by check_tuple_visibility(), heap_prepare_freeze_tuple(), heap_tuple_needs_eventual_freeze(), heap_tuple_should_freeze(), HeapTupleCleanMoved(), and HeapTupleHeaderAdvanceConflictHorizon().
|
inlinestatic |
Definition at line 692 of file htup_details.h.
Referenced by ExecHashJoinImpl(), ExecParallelScanHashTableForUnmatched(), and ExecScanHashTableForUnmatched().
|
inlinestatic |
Definition at line 466 of file htup_details.h.
References fb(), ItemPointerSet(), and SpecTokenOffsetNumber.
Referenced by heap_get_latest_tid(), heap_get_root_tuples(), heap_lock_updated_tuple_rec(), heap_prune_chain(), and rewrite_heap_tuple().
|
inlinestatic |
Definition at line 541 of file htup_details.h.
References fb().
Referenced by check_tuple_header(), heap_abort_speculative(), heap_get_root_tuples(), heap_page_prune_execute(), HeapTupleSetHeapOnly(), index_delete_check_htid(), page_verify_redirects(), prune_freeze_plan(), and verify_heapam().
|
inlinestatic |
Definition at line 520 of file htup_details.h.
References fb(), and HEAP_HOT_UPDATED.
Referenced by check_tuple_header(), heap_get_root_tuples(), heap_index_delete_tuples(), heap_prune_chain(), HeapTupleSetHotUpdated(), and prune_freeze_plan().
|
inlinestatic |
Definition at line 447 of file htup_details.h.
Referenced by heap_abort_speculative(), heap_finish_speculative(), heap_mask(), heapam_tuple_lock(), HeapTupleSatisfiesDirty(), and RelationPutHeapTuple().
|
inlinestatic |
Definition at line 417 of file htup_details.h.
Referenced by heap_delete(), heap_update(), heap_xlog_delete(), heap_xlog_lock(), and heap_xlog_update().
|
inlinestatic |
Definition at line 408 of file htup_details.h.
Referenced by apply_returning_filter(), fill_seq_fork_with_data(), heap_prepare_insert(), heap_update(), heap_xlog_insert(), heap_xlog_multi_insert(), heap_xlog_update(), and make_tuple_from_result_row().
|
inlinestatic |
Definition at line 484 of file htup_details.h.
References fb(), and VARSIZE().
Referenced by ER_flatten_into(), expand_tuple(), heap_copy_tuple_as_datum(), heap_form_tuple(), and toast_flatten_tuple_to_datum().
|
inlinestatic |
Definition at line 547 of file htup_details.h.
References fb(), and HEAP_ONLY_TUPLE.
Referenced by HeapTupleClearHeapOnly().
|
inlinestatic |
Definition at line 529 of file htup_details.h.
Referenced by heap_xlog_update(), and HeapTupleClearHotUpdated().
|
inlinestatic |
Definition at line 698 of file htup_details.h.
References fb(), and HEAP_TUPLE_HAS_MATCH.
Referenced by ExecHashJoinImpl().
|
inlinestatic |
Definition at line 472 of file htup_details.h.
References fb(), and ItemPointerIndicatesMovedPartitions().
Referenced by heap_delete(), and heap_xlog_delete().
|
inlinestatic |
Definition at line 460 of file htup_details.h.
Referenced by heapam_tuple_insert_speculative().
|
inlinestatic |
Definition at line 496 of file htup_details.h.
References fb().
Referenced by coerce_function_result_tuple(), ER_flatten_into(), ExecEvalWholeRowVar(), expand_tuple(), heap_copy_tuple_as_datum(), heap_form_tuple(), and toast_flatten_tuple_to_datum().
|
inlinestatic |
Definition at line 508 of file htup_details.h.
References fb().
Referenced by coerce_function_result_tuple(), ER_flatten_into(), ExecEvalWholeRowVar(), expand_tuple(), heap_copy_tuple_as_datum(), heap_form_tuple(), and toast_flatten_tuple_to_datum().
|
inlinestatic |
Definition at line 369 of file htup_details.h.
References fb().
Referenced by apply_returning_filter(), fill_seq_fork_with_data(), heap_delete(), heap_execute_freeze_tuple(), heap_force_common(), heap_lock_tuple(), heap_lock_updated_tuple_rec(), heap_prepare_insert(), heap_update(), heap_xlog_delete(), heap_xlog_lock(), heap_xlog_lock_updated(), heap_xlog_update(), make_tuple_from_result_row(), and read_seq_tuple().
|
inlinestatic |
Definition at line 331 of file htup_details.h.
Referenced by apply_returning_filter(), fill_seq_fork_with_data(), heap_abort_speculative(), heap_force_common(), heap_prepare_insert(), heap_update(), heap_xlog_delete(), heap_xlog_insert(), heap_xlog_multi_insert(), heap_xlog_update(), make_tuple_from_result_row(), and RelationReloadIndexInfo().
|
inlinestatic |
Definition at line 356 of file htup_details.h.
References fb(), and HEAP_XMIN_FROZEN.
Referenced by fill_seq_fork_with_data(), and heap_prepare_insert().
|
inlinestatic |
Definition at line 437 of file htup_details.h.
Referenced by heap_execute_freeze_tuple(), and heap_force_common().
|
inlinestatic |
Definition at line 337 of file htup_details.h.
References fb().
Referenced by check_safe_enum_use(), check_tuple_visibility(), heap_page_would_be_all_visible(), heap_prune_record_unchanged_lp_normal(), HeapTupleHeaderAdjustCmax(), HeapTupleHeaderAdvanceConflictHorizon(), HeapTupleIsSurelyDead(), HeapTupleSatisfiesDirty(), HeapTupleSatisfiesHistoricMVCC(), HeapTupleSatisfiesMVCC(), HeapTupleSatisfiesSelf(), HeapTupleSatisfiesToast(), HeapTupleSatisfiesUpdate(), and HeapTupleSatisfiesVacuumHorizon().
|
inlinestatic |
Definition at line 350 of file htup_details.h.
Referenced by heap_mask(), heap_pre_freeze_checks(), heap_xlog_insert(), and HeapTupleSatisfiesMVCC().
|
inlinestatic |
Definition at line 343 of file htup_details.h.
References fb(), and HEAP_XMIN_COMMITTED.
Referenced by check_tuple_visibility(), HeapTupleHeaderAdvanceConflictHorizon(), HeapTupleIsSurelyDead(), HeapTupleSatisfiesDirty(), HeapTupleSatisfiesHistoricMVCC(), HeapTupleSatisfiesMVCC(), HeapTupleSatisfiesSelf(), HeapTupleSatisfiesToast(), HeapTupleSatisfiesUpdate(), HeapTupleSatisfiesVacuumHorizon(), and log_heap_new_cid().
|
inlinestatic |
Definition at line 772 of file htup_details.h.
References HeapTupleHeaderClearHotUpdated(), and HeapTupleData::t_data.
Referenced by CatalogIndexInsert(), heap_hot_search_buffer(), heapam_index_build_range_scan(), heapam_index_validate_scan(), heapam_tuple_update(), and log_heap_update().
|
inlinestatic |
Definition at line 754 of file htup_details.h.
References HEAP_HASEXTERNAL, HeapTupleData::t_data, and HeapTupleHeaderData::t_infomask.
Referenced by heap_hot_search_buffer(), and heapam_index_build_range_scan().
|
inlinestatic |
Definition at line 730 of file htup_details.h.
References HEAP_HASNULL, HeapTupleData::t_data, and HeapTupleHeaderData::t_infomask.
Referenced by fastgetattr(), and heap_attisnull().
|
inlinestatic |
Definition at line 778 of file htup_details.h.
References HeapTupleHeaderIsHeapOnly(), and HeapTupleData::t_data.
Referenced by heap_update().
|
inlinestatic |
Definition at line 760 of file htup_details.h.
References HeapTupleHeaderIsHotUpdated(), and HeapTupleData::t_data.
Referenced by heap_update().
|
extern |
|
extern |
Definition at line 1523 of file heaptuple.c.
References Assert, fb(), len, MAXALIGN, memcpy(), MINIMAL_TUPLE_OFFSET, palloc(), result, HeapTupleData::t_data, and HeapTupleData::t_len.
Referenced by copytup_heap(), tts_buffer_heap_copy_minimal_tuple(), and tts_heap_copy_minimal_tuple().
Definition at line 509 of file heaptuple.c.
References Assert, att_addlength_pointer, att_isnull(), att_nominal_alignby, att_pointer_alignby, CompactAttribute::attcacheoff, attlen, attnum, fb(), fetchatt, first_null_attr(), HeapTupleHasNulls(), HeapTupleHasVarWidth(), i, Min, HeapTupleHeaderData::t_bits, HeapTupleHeaderData::t_hoff, and TupleDescCompactAttr().
Referenced by fastgetattr().
| StaticAssertDecl | ( | ) |
References Assert, fb(), and HEAP_MOVED.
Definition at line 1546 of file heaptuple.c.
References VARSIZE_ANY().