PostgreSQL Source Code
git master
|
#include <rel.h>
bool RelationData::pgstat_enabled |
Definition at line 253 of file rel.h.
Referenced by pgstat_assoc_relation(), and pgstat_init_relation().
struct PgStat_TableStatus* RelationData::pgstat_info |
Definition at line 255 of file rel.h.
Referenced by load_relcache_init_file(), pgstat_assoc_relation(), pgstat_count_heap_delete(), pgstat_count_heap_insert(), pgstat_count_heap_update(), pgstat_count_truncate(), pgstat_drop_relation(), pgstat_init_relation(), pgstat_report_analyze(), pgstat_unlink_relation(), and pgstat_update_heap_dead_tuples().
void* RelationData::rd_amcache |
Definition at line 229 of file rel.h.
Referenced by _bt_getroot(), _bt_getrootheight(), _bt_gettrueroot(), _bt_metaversion(), _hash_getcachedmetap(), load_relcache_init_file(), RelationClearRelation(), RelationDestroyRelation(), RelationInitIndexAccessInfo(), RelationInvalidateRelation(), and RelationReloadIndexInfo().
Oid RelationData::rd_amhandler |
Definition at line 184 of file rel.h.
Referenced by InitIndexAmRoutine(), InitTableAmRoutine(), RelationInitIndexAccessInfo(), and RelationInitTableAccessMethod().
TupleDesc RelationData::rd_att |
Definition at line 112 of file rel.h.
Referenced by AddNewRelationTuple(), addRangeTableEntry(), addRangeTableEntryForRelation(), AddRelationNewConstraints(), afterTriggerInvokeEvents(), AggregateCreate(), AllocateRelationDesc(), AppendAttributeTuples(), ATExecAddColumn(), ATExecReplicaIdentity(), attnameAttNum(), attnumAttName(), attnumCollationId(), attnumTypeId(), AttrDefaultFetch(), boot_openrel(), build_column_default(), build_index_tlist(), build_physical_tlist(), BuildOnConflictExcludedTargetlist(), check_foreign_key(), check_primary_key(), check_toast_tuple(), CheckConstraintFetch(), CheckIndexCompatible(), checkInsertTargets(), CloneRowTriggersToPartition(), ConversionCreate(), CopyFrom(), CreateForeignDataWrapper(), CreateForeignServer(), CreateForeignTable(), CreateOpFamily(), CreateStatistics(), CreateTableSpace(), CreateTriggerFiringOn(), CreateUserMapping(), database_to_xmlschema_internal(), DefineOpClass(), DefineTSConfiguration(), DefineTSDictionary(), DefineTSParser(), DefineTSTemplate(), DefineVirtualRelation(), DetachPartitionFinalize(), do_analyze_rel(), ENRMetadataGetTupDesc(), examine_attribute(), ExecInitIndexOnlyScan(), ExecInitModifyTable(), ExecInsert(), ExecRelCheck(), ExecSimpleRelationInsert(), ExecSimpleRelationUpdate(), ExecUpdateAct(), ExecUpdatePrepareSlot(), expand_insert_targetlist(), expandRelation(), formrdesc(), gbt_var_penalty(), get_pkey_attnames(), get_rel_data_width(), get_relation_constraints(), get_relation_info(), get_rels_with_domain(), get_sql_delete(), get_sql_insert(), get_sql_update(), get_tuple_of_interest(), gistCompressValues(), gistFetchTuple(), heap_create_with_catalog(), heap_fetch_toast_slice(), heap_toast_delete(), heap_toast_insert_or_update(), heapam_relation_needs_toast_table(), infer_collation_opclass_match(), insert_event_trigger_tuple(), InsertExtensionTuple(), InsertOneNull(), InsertOneValue(), InsertRule(), inv_truncate(), inv_write(), lo_manage(), load_domaintype_info(), load_relcache_init_file(), MergeWithExistingConstraint(), NamespaceCreate(), OperatorShellMake(), PartConstraintImpliedByRelConstraint(), pg_get_triggerdef_worker(), plperl_modify_tuple(), plperl_trigger_build_args(), refresh_by_match_merge(), RelationBuildLocalRelation(), RelationBuildPartitionKey(), RelationBuildTriggers(), RelationBuildTupleDesc(), RelationCacheInitializePhase3(), RelationClearRelation(), RelationDestroyRelation(), RelationGetExclusionInfo(), rewriteTargetListIU(), rewriteValuesRTE(), ri_ReportViolation(), schema_to_xmlschema_internal(), shdepAddDependency(), SPI_modifytuple(), StoreAttrDefault(), storeOperators(), storeProcedures(), table_to_xml_and_xmlschema(), table_to_xmlschema(), toast_delete_external(), toast_save_datum(), toast_tuple_cleanup(), toast_tuple_find_biggest_attribute(), toast_tuple_init(), transformAssignedExpr(), transformIndexConstraint(), triggered_change_notification(), tsvector_update_trigger(), TypeShellMake(), validate_pkattnums(), and write_relcache_init_file().
bool RelationData::rd_attrsvalid |
Definition at line 161 of file rel.h.
Referenced by load_relcache_init_file(), and RelationGetIndexAttrBitmap().
ProcNumber RelationData::rd_backend |
Definition at line 60 of file rel.h.
Referenced by calculate_indexes_size(), calculate_table_size(), calculate_toast_table_size(), CreateFakeRelcacheEntry(), formrdesc(), pg_relation_size(), RelationBuildDesc(), RelationBuildLocalRelation(), RelationDropStorage(), RelationGetSmgr(), and RelationSetNewRelfilenumber().
SubTransactionId RelationData::rd_createSubid |
Definition at line 103 of file rel.h.
Referenced by AtEOSubXact_cleanup(), AtEOXact_cleanup(), ATExecAddIndex(), CopyFrom(), ExecuteTruncateGuts(), formrdesc(), load_relcache_init_file(), RelationBuildDesc(), RelationBuildLocalRelation(), RelationCacheInvalidate(), RelationCloseCleanup(), RelationFlushRelation(), RelationForgetRelation(), swap_relation_files(), and TryReuseIndex().
SubTransactionId RelationData::rd_droppedSubid |
Definition at line 109 of file rel.h.
Referenced by AtEOSubXact_cleanup(), AtEOXact_cleanup(), formrdesc(), load_relcache_init_file(), RelationBuildDesc(), RelationBuildLocalRelation(), RelationClearRelation(), RelationFlushRelation(), RelationForgetRelation(), RelationIdGetRelation(), and RelationReloadIndexInfo().
Oid* RelationData::rd_exclops |
Definition at line 214 of file rel.h.
Referenced by load_relcache_init_file(), RelationGetExclusionInfo(), and RelationInitIndexAccessInfo().
Oid* RelationData::rd_exclprocs |
Definition at line 215 of file rel.h.
Referenced by load_relcache_init_file(), RelationGetExclusionInfo(), and RelationInitIndexAccessInfo().
uint16* RelationData::rd_exclstrats |
Definition at line 216 of file rel.h.
Referenced by load_relcache_init_file(), RelationGetExclusionInfo(), and RelationInitIndexAccessInfo().
struct FdwRoutine* RelationData::rd_fdwroutine |
Definition at line 240 of file rel.h.
Referenced by GetFdwRoutineForRelation(), load_relcache_init_file(), and RelationDestroyRelation().
SubTransactionId RelationData::rd_firstRelfilelocatorSubid |
Definition at line 106 of file rel.h.
Referenced by AtEOSubXact_cleanup(), AtEOXact_cleanup(), ATExecAddIndex(), CopyFrom(), formrdesc(), load_relcache_init_file(), RelationAssumeNewRelfilelocator(), RelationBuildDesc(), RelationBuildLocalRelation(), RelationCacheInvalidate(), RelationCloseCleanup(), RelationFlushRelation(), RelationForgetRelation(), RelationInitPhysicalAddr(), swap_relation_files(), and TryReuseIndex().
List* RelationData::rd_fkeylist |
Definition at line 122 of file rel.h.
Referenced by load_relcache_init_file(), RelationBuildDesc(), RelationDestroyRelation(), and RelationGetFKeyList().
bool RelationData::rd_fkeyvalid |
Definition at line 123 of file rel.h.
Referenced by load_relcache_init_file(), RelationBuildDesc(), and RelationGetFKeyList().
Bitmapset* RelationData::rd_hotblockingattr |
Definition at line 165 of file rel.h.
Referenced by RelationDestroyRelation(), and RelationGetIndexAttrBitmap().
Oid RelationData::rd_id |
Definition at line 113 of file rel.h.
Referenced by ATExecAlterColumnGenericOptions(), ATExecGenericOptions(), CheckForSerializableConflictIn(), CheckTableForSerializableConflictIn(), compute_expr_stats(), CreateTriggerFiringOn(), do_analyze_rel(), DropAllPredicateLocksFromTable(), heapam_scan_bitmap_next_block(), heapam_scan_bitmap_next_tuple(), PageIsPredicateLocked(), plperl_trigger_build_args(), plpgsql_fulfill_promise(), pltcl_trigger_handler(), PLy_trigger_build_args(), PredicateLockingNeededForRelation(), PredicateLockPage(), PredicateLockPageSplit(), PredicateLockRelation(), PredicateLockTID(), RelationInitPhysicalAddr(), ri_ReportViolation(), and SPI_register_trigger_data().
Bitmapset* RelationData::rd_idattr |
Definition at line 164 of file rel.h.
Referenced by load_relcache_init_file(), RelationDestroyRelation(), RelationGetIdentityKeyBitmap(), and RelationGetIndexAttrBitmap().
struct IndexAmRoutine* RelationData::rd_indam |
Definition at line 206 of file rel.h.
Referenced by ATExecReplicaIdentity(), ATExecSetRelOptions(), check_index_is_clusterable(), generateClonedIndexStmt(), get_relation_info(), index_beginscan_internal(), index_build(), index_bulk_delete(), index_can_return(), index_concurrently_create_copy(), index_endscan(), index_getbitmap(), index_getnext_tid(), index_getprocid(), index_getprocinfo(), index_insert(), index_insert_cleanup(), index_markpos(), index_opclass_options(), index_parallelrescan(), index_parallelscan_estimate(), index_parallelscan_initialize(), index_rescan(), index_restrpos(), index_vacuum_cleanup(), InitIndexAmRoutine(), load_relcache_init_file(), parallel_vacuum_compute_workers(), parallel_vacuum_index_is_parallel_safe(), parallel_vacuum_init(), RelationGetIndexAttrBitmap(), RelationInitIndexAccessInfo(), RelationParseRelOptions(), and write_relcache_init_file().
Oid* RelationData::rd_indcollation |
Definition at line 217 of file rel.h.
Referenced by _bt_allequalimage(), _bt_mkscankey(), _hash_datum2hashkey(), _hash_datum2hashkey_type(), add_values_to_range(), ATExecAttachPartitionIdx(), AttachPartitionEnsureIndexes(), build_replindex_scan_key(), DefineIndex(), examine_attribute(), get_relation_info(), index_concurrently_create_copy(), infer_collation_opclass_match(), load_relcache_init_file(), RelationInitIndexAccessInfo(), spgbeginscan(), transformIndexConstraint(), tuplesort_begin_index_gist(), union_tuples(), and write_relcache_init_file().
Form_pg_index RelationData::rd_index |
Definition at line 192 of file rel.h.
Referenced by _bt_mkscankey(), ATExecAttachPartitionIdx(), ATExecReplicaIdentity(), ATExecSetStatistics(), AttachPartitionEnsureIndexes(), brin_desummarize_range(), brin_summarize_range(), bt_check_every_level(), btree_index_checkable(), build_replindex_scan_key(), BuildIndexValueDescription(), check_index_is_clusterable(), CheckTableForSerializableConflictIn(), DefineIndex(), DefineRelation(), DropAllPredicateLocksFromTable(), ExecCheckIndexConstraints(), ExecInitIndexOnlyScan(), ExecInsertIndexTuples(), ExecOpenIndices(), get_relation_info(), gin_clean_pending_list(), index_create(), IndexSetParentIndex(), infer_arbiter_indexes(), infer_collation_opclass_match(), InitCatCachePhase2(), InitConflictIndexes(), is_usable_unique_index(), load_relcache_init_file(), pgstat_relation(), pgstatginindex_internal(), pgstathashindex(), pgstatindex_impl(), PredicateLockTID(), refresh_by_match_merge(), ReindexRelationConcurrently(), RelationGetExclusionInfo(), RelationGetIdentityKeyBitmap(), RelationGetIndexAttrBitmap(), RelationInitIndexAccessInfo(), RelationReloadIndexInfo(), SetIndexStorageProperties(), systable_beginscan(), systable_beginscan_ordered(), toast_open_indexes(), toast_save_datum(), transformIndexConstraint(), vac_open_indexes(), and validatePartitionedIndex().
MemoryContext RelationData::rd_indexcxt |
Definition at line 204 of file rel.h.
Referenced by _bt_getroot(), _bt_getrootheight(), _bt_metaversion(), _hash_getcachedmetap(), index_create(), index_getprocinfo(), InitIndexAmRoutine(), load_relcache_init_file(), RelationClearRelation(), RelationDestroyRelation(), RelationGetExclusionInfo(), RelationGetIndexAttOptions(), RelationGetIndexExpressions(), RelationGetIndexPredicate(), and RelationInitIndexAccessInfo().
List* RelationData::rd_indexlist |
Definition at line 152 of file rel.h.
Referenced by load_relcache_init_file(), RelationDestroyRelation(), and RelationGetIndexList().
List* RelationData::rd_indexprs |
Definition at line 212 of file rel.h.
Referenced by load_relcache_init_file(), RelationGetIndexExpressions(), and RelationInitIndexAccessInfo().
struct HeapTupleData* RelationData::rd_indextuple |
Definition at line 194 of file rel.h.
Referenced by bt_check_every_level(), build_replindex_scan_key(), check_index_is_clusterable(), generateClonedIndexStmt(), get_relation_info(), index_opclass_options(), load_relcache_init_file(), refresh_by_match_merge(), RelationDestroyRelation(), RelationGetDummyIndexExpressions(), RelationGetIndexAttrBitmap(), RelationGetIndexExpressions(), RelationGetIndexPredicate(), RelationInitIndexAccessInfo(), RelationReloadIndexInfo(), transformIndexConstraint(), and write_relcache_init_file().
bool RelationData::rd_indexvalid |
Definition at line 64 of file rel.h.
Referenced by load_relcache_init_file(), RelationGetIndexList(), RelationGetPrimaryKeyIndex(), and RelationGetReplicaIndex().
int16* RelationData::rd_indoption |
Definition at line 211 of file rel.h.
Referenced by _bt_mkscankey(), _bt_preprocess_keys(), generateClonedIndexStmt(), get_relation_info(), load_relcache_init_file(), RelationInitIndexAccessInfo(), transformIndexConstraint(), and write_relcache_init_file().
List* RelationData::rd_indpred |
Definition at line 213 of file rel.h.
Referenced by load_relcache_init_file(), RelationGetIndexPredicate(), and RelationInitIndexAccessInfo().
bool RelationData::rd_islocaltemp |
Definition at line 61 of file rel.h.
Referenced by ATAddForeignKeyConstraint(), ATExecAddInherit(), ATExecAttachPartition(), do_setval(), DoCopy(), formrdesc(), MergeAttributes(), nextval_internal(), RelationBuildDesc(), and RelationBuildLocalRelation().
bool RelationData::rd_isnailed |
Definition at line 62 of file rel.h.
Referenced by AtEOXact_cleanup(), CheckTableNotInUse(), formrdesc(), load_critical_index(), load_relcache_init_file(), RelationBuildDesc(), RelationBuildLocalRelation(), RelationCacheInvalidate(), RelationClearRelation(), RelationIdGetRelation(), RelationReloadNailed(), and write_relcache_init_file().
bool RelationData::rd_ispkdeferrable |
Definition at line 154 of file rel.h.
Referenced by RelationGetIndexList(), and RelationGetPrimaryKeyIndex().
bool RelationData::rd_isvalid |
Definition at line 63 of file rel.h.
Referenced by formrdesc(), RelationBuildDesc(), RelationBuildLocalRelation(), RelationClearRelation(), RelationIdGetRelation(), RelationInvalidateRelation(), RelationReloadIndexInfo(), and RelationReloadNailed().
Bitmapset* RelationData::rd_keyattr |
Definition at line 162 of file rel.h.
Referenced by load_relcache_init_file(), RelationDestroyRelation(), and RelationGetIndexAttrBitmap().
RelFileLocator RelationData::rd_locator |
Definition at line 57 of file rel.h.
Referenced by _bt_allocbuf(), _hash_alloc_buckets(), _hash_init(), ATExecAddIndex(), ATExecSetTableSpace(), calculate_indexes_size(), calculate_table_size(), calculate_toast_table_size(), CheckForSerializableConflictIn(), CheckTableForSerializableConflictIn(), CreateFakeRelcacheEntry(), do_setval(), DropAllPredicateLocksFromTable(), fill_seq_fork_with_data(), fill_seq_with_data(), FlushRelationBuffers(), ginPlaceToPage(), gistXLogPageReuse(), heap_create(), index_beginscan_parallel(), index_build(), index_parallelscan_initialize(), log_heap_new_cid(), nextval_internal(), PageIsPredicateLocked(), pg_relation_size(), pg_truncate_visibility_map(), PredicateLockPage(), PredicateLockPageSplit(), PredicateLockRelation(), PredicateLockTID(), RelationDropStorage(), RelationGetSmgr(), RelationInitPhysicalAddr(), RelationSetNewRelfilenumber(), RelationTruncate(), ReleaseAndReadBuffer(), ss_get_location(), ss_report_location(), table_beginscan_parallel(), table_block_parallelscan_initialize(), and TryReuseIndex().
LockInfoData RelationData::rd_lockInfo |
Definition at line 114 of file rel.h.
Referenced by _bt_end_vacuum(), _bt_start_vacuum(), _bt_vacuum_cycleid(), CheckRelationLockedByMe(), ConditionalLockPage(), ConditionalLockRelation(), ConditionalLockRelationForExtension(), ConditionalLockTuple(), CreateFakeRelcacheEntry(), DefineIndex(), index_close(), index_drop(), LockHasWaitersRelation(), LockPage(), LockRelation(), LockRelationForExtension(), LockTuple(), ReindexRelationConcurrently(), relation_close(), RelationExtensionLockWaiterCount(), RelationInitLockInfo(), UnlockPage(), UnlockRelation(), UnlockRelationForExtension(), UnlockTuple(), and vacuum_rel().
SubTransactionId RelationData::rd_newRelfilelocatorSubid |
Definition at line 104 of file rel.h.
Referenced by AtEOSubXact_cleanup(), AtEOXact_cleanup(), CopyFrom(), ExecuteTruncateGuts(), formrdesc(), load_relcache_init_file(), RelationAssumeNewRelfilelocator(), RelationBuildDesc(), RelationBuildLocalRelation(), and swap_relation_files().
Oid* RelationData::rd_opcintype |
Definition at line 208 of file rel.h.
Referenced by _bt_allequalimage(), _bt_compare_array_scankey_args(), _bt_compare_scankey_args(), _bt_first(), _bt_setup_array_cmp(), _hash_first(), BuildIndexValueDescription(), ExecInitIndexOnlyScan(), get_relation_info(), gistrescan(), infer_collation_opclass_match(), load_relcache_init_file(), PrepareSortSupportFromGistIndexRel(), PrepareSortSupportFromIndexRel(), RelationInitIndexAccessInfo(), and write_relcache_init_file().
bytea** RelationData::rd_opcoptions |
Definition at line 218 of file rel.h.
Referenced by load_relcache_init_file(), RelationGetIndexAttOptions(), and write_relcache_init_file().
Oid* RelationData::rd_opfamily |
Definition at line 207 of file rel.h.
Referenced by _bt_allequalimage(), _bt_compare_array_scankey_args(), _bt_compare_scankey_args(), _bt_find_extreme_element(), _bt_first(), _bt_merge_arrays(), _hash_datum2hashkey_type(), ATExecAttachPartitionIdx(), AttachPartitionEnsureIndexes(), bt_index_check_internal(), DefineIndex(), get_relation_info(), inclusion_get_strategy_procinfo(), infer_collation_opclass_match(), load_relcache_init_file(), minmax_get_strategy_procinfo(), minmax_multi_get_strategy_procinfo(), PrepareSortSupportFromGistIndexRel(), PrepareSortSupportFromIndexRel(), RelationGetExclusionInfo(), RelationInitIndexAccessInfo(), and write_relcache_init_file().
bytea* RelationData::rd_options |
Definition at line 175 of file rel.h.
Referenced by load_relcache_init_file(), RelationCacheInitializePhase3(), RelationDestroyRelation(), RelationParseRelOptions(), RelationReloadIndexInfo(), vacuum_rel(), and write_relcache_init_file().
List* RelationData::rd_partcheck |
Definition at line 147 of file rel.h.
Referenced by generate_partition_qual(), load_relcache_init_file(), and RelationBuildDesc().
MemoryContext RelationData::rd_partcheckcxt |
Definition at line 149 of file rel.h.
Referenced by generate_partition_qual(), load_relcache_init_file(), RelationBuildDesc(), and RelationDestroyRelation().
bool RelationData::rd_partcheckvalid |
Definition at line 148 of file rel.h.
Referenced by generate_partition_qual(), load_relcache_init_file(), and RelationBuildDesc().
PartitionDesc RelationData::rd_partdesc |
Definition at line 130 of file rel.h.
Referenced by load_relcache_init_file(), RelationBuildDesc(), RelationBuildPartitionDesc(), RelationClearRelation(), and RelationGetPartitionDesc().
PartitionDesc RelationData::rd_partdesc_nodetached |
Definition at line 134 of file rel.h.
Referenced by load_relcache_init_file(), RelationBuildDesc(), RelationBuildPartitionDesc(), RelationClearRelation(), and RelationGetPartitionDesc().
TransactionId RelationData::rd_partdesc_nodetached_xmin |
Definition at line 144 of file rel.h.
Referenced by load_relcache_init_file(), RelationBuildDesc(), RelationBuildPartitionDesc(), RelationClearRelation(), and RelationGetPartitionDesc().
PartitionKey RelationData::rd_partkey |
Definition at line 126 of file rel.h.
Referenced by load_relcache_init_file(), RelationBuildDesc(), RelationBuildPartitionKey(), RelationClearRelation(), and RelationGetPartitionKey().
MemoryContext RelationData::rd_partkeycxt |
Definition at line 127 of file rel.h.
Referenced by load_relcache_init_file(), RelationBuildDesc(), RelationBuildPartitionKey(), and RelationDestroyRelation().
MemoryContext RelationData::rd_pdcxt |
Definition at line 131 of file rel.h.
Referenced by load_relcache_init_file(), RelationBuildDesc(), RelationBuildPartitionDesc(), RelationClearRelation(), RelationCloseCleanup(), and RelationDestroyRelation().
MemoryContext RelationData::rd_pddcxt |
Definition at line 135 of file rel.h.
Referenced by load_relcache_init_file(), RelationBuildDesc(), RelationBuildPartitionDesc(), RelationClearRelation(), RelationCloseCleanup(), and RelationDestroyRelation().
Bitmapset* RelationData::rd_pkattr |
Definition at line 163 of file rel.h.
Referenced by load_relcache_init_file(), RelationDestroyRelation(), and RelationGetIndexAttrBitmap().
Oid RelationData::rd_pkindex |
Definition at line 153 of file rel.h.
Referenced by load_relcache_init_file(), RelationGetIndexAttrBitmap(), RelationGetIndexList(), and RelationGetPrimaryKeyIndex().
PublicationDesc* RelationData::rd_pubdesc |
Definition at line 168 of file rel.h.
Referenced by load_relcache_init_file(), RelationBuildPublicationDesc(), and RelationDestroyRelation().
int RelationData::rd_refcnt |
Definition at line 59 of file rel.h.
Referenced by AtEOXact_cleanup(), CheckTableNotInUse(), formrdesc(), load_critical_index(), load_relcache_init_file(), RelationBuildDesc(), RelationBuildLocalRelation(), RelationClearRelation(), RelationDecrementReferenceCount(), RelationIncrementReferenceCount(), RelationReloadNailed(), and ResOwnerReleaseRelation().
Form_pg_class RelationData::rd_rel |
Definition at line 111 of file rel.h.
Referenced by acquire_inherited_sample_rows(), AcquireRewriteLocks(), add_row_identity_columns(), addFkRecurseReferenced(), addFkRecurseReferencing(), AddNewRelationTuple(), addRangeTableEntry(), addRangeTableEntryForRelation(), afterTriggerInvokeEvents(), AfterTriggerSaveEvent(), AllocateRelationDesc(), AlterSequence(), AlterTableNamespace(), AlterTableNamespaceInternal(), analyze_rel(), apply_handle_delete(), apply_handle_insert(), apply_handle_truncate(), apply_handle_tuple_routing(), apply_handle_update(), ATAddForeignKeyConstraint(), ATCheckPartitionsNotInUse(), ATExecAddColumn(), ATExecAddIdentity(), ATExecAddIndexConstraint(), ATExecAddInherit(), ATExecAddOf(), ATExecAlterConstraint(), ATExecAlterConstrRecurse(), ATExecAttachPartition(), ATExecAttachPartitionIdx(), ATExecClusterOn(), ATExecCmd(), ATExecDropColumn(), ATExecDropConstraint(), ATExecDropIdentity(), ATExecDropInherit(), ATExecDropNotNull(), ATExecDropOf(), ATExecReplicaIdentity(), ATExecSetAccessMethodNoStorage(), ATExecSetIdentity(), ATExecSetRelOptions(), ATExecSetStatistics(), ATExecSetTableSpace(), ATExecSetTableSpaceNoStorage(), ATGetQueueEntry(), ATPrepAddColumn(), ATPrepAddInherit(), ATPrepAlterColumnType(), ATPrepChangePersistence(), ATPrepCmd(), ATPrepDropColumn(), ATPrepSetAccessMethod(), ATPrepSetNotNull(), ATRewriteTables(), ATSimplePermissions(), ATSimpleRecursion(), AttachPartitionEnsureIndexes(), ATTypedTableRecursion(), BeginCopyTo(), BootstrapToastTable(), brin_desummarize_range(), brin_summarize_range(), bt_index_check_internal(), btree_index_checkable(), btree_index_mainfork_expected(), BuildOnConflictExcludedTargetlist(), BuildRelationExtStatistics(), CacheInvalidateRelcache(), calculate_indexes_size(), calculate_table_size(), check_default_partition_contents(), check_of_type(), check_publication_add_relation(), check_relation_relkind(), check_relation_updatable(), check_tuple_attribute(), CheckCmdReplicaIdentity(), CheckConstraintFetch(), checkFkeyPermissions(), CheckPubRelationColumnList(), CheckRelationTableSpaceMove(), CheckTableNotInUse(), CheckValidResultRel(), CheckValidRowMarkRel(), CloneFkReferencing(), CloneForeignKeyConstraints(), cluster(), cluster_rel(), CommentObject(), copy_table_data(), CopyFrom(), CopyMultiInsertInfoInit(), create_edata_for_relation(), create_estate_for_relation(), create_toast_table(), CreateFakeRelcacheEntry(), CreateInheritance(), CreateStatistics(), CreateTriggerFiringOn(), currtid_internal(), DefineIndex(), DefineQueryRewrite(), DefineRelation(), DefineVirtualRelation(), DetachPartitionFinalize(), do_analyze_rel(), EnableDisableTrigger(), estimate_rel_size(), EvalPlanQualFetchRowMark(), ExecConstraints(), ExecFindPartition(), ExecGetAncestorResultRels(), ExecGetRootToChildMap(), ExecInitBitmapHeapScan(), ExecInitModifyTable(), ExecInsert(), ExecLockRows(), ExecModifyTable(), ExecRelCheck(), ExecSecLabelStmt(), ExecSimpleRelationInsert(), ExecSimpleRelationUpdate(), ExecUpdateAct(), ExecUpdatePrologue(), ExecuteTruncate(), ExecuteTruncateGuts(), expand_inherited_rtentry(), expand_partitioned_rtentry(), expand_single_inheritance_child(), expandTableLikeClause(), ExtendBufferedRelBy(), ExtendBufferedRelTo(), ExtractReplicaIdentity(), fill_seq_with_data(), find_composite_type_dependencies(), FindLogicalRepLocalIndex(), finish_heap_swap(), formrdesc(), generate_partition_qual(), generate_relation_name(), generateSerialExtraStmts(), get_raw_page_internal(), get_rel_from_relname(), get_relation_by_qualified_name(), get_relation_constraints(), get_relation_info(), get_rels_with_domain(), get_view_query(), GetStrictOldestNonRemovableTransactionId(), gin_clean_pending_list(), gistGetFakeLSN(), GlobalVisHorizonKindForRel(), has_partition_attrs(), heap_abort_speculative(), heap_create(), heap_create_with_catalog(), heap_delete(), heap_drop_with_catalog(), heap_force_common(), heap_index_delete_tuples(), heap_prepare_insert(), heap_toast_delete(), heap_toast_insert_or_update(), heap_truncate_check_FKs(), heap_truncate_one_rel(), heap_update(), heap_vacuum_rel(), heapam_index_build_range_scan(), heapam_index_validate_scan(), heapam_relation_copy_data(), heapam_relation_set_new_filelocator(), heapam_relation_toast_am(), index_build(), index_check_primary_key(), index_concurrently_build(), index_concurrently_create_copy(), index_copy_data(), index_create(), index_drop(), IndexSetParentIndex(), init_sequence(), InitResultRelInfo(), InsertPgClassTuple(), is_publishable_relation(), is_usable_unique_index(), isQueryUsingTempRelation_walker(), IsSystemRelation(), lazy_vacuum_all_indexes(), load_relcache_init_file(), load_typcache_tupdesc(), LockViewRecurse(), log_heap_update(), logicalrep_rel_open(), logicalrep_write_attrs(), logicalrep_write_delete(), logicalrep_write_rel(), logicalrep_write_update(), LogicalRepSyncTableStart(), make_append_rel_info(), make_new_heap(), mark_index_clustered(), MarkInheritDetached(), MergeAttributes(), MergeAttributesIntoExisting(), MergeConstraintsIntoExisting(), MergeWithExistingConstraint(), needs_toast_table(), OpenTableList(), pg_prewarm(), pg_relpages_impl(), pgoutput_change(), pgoutput_truncate(), pgstat_assoc_relation(), pgstat_copy_relation_stats(), pgstat_create_relation(), pgstat_drop_relation(), pgstat_heap(), pgstat_init_relation(), pgstat_relation(), pgstat_report_analyze(), pgstattuple_approx_internal(), plan_create_index_workers(), postgresAcquireSampleRowsFunc(), postgresAnalyzeForeignTable(), postgresGetAnalyzeInfoForForeignTable(), PrepareSortSupportFromGistIndexRel(), PrepareSortSupportFromIndexRel(), process_owned_by(), pub_collist_contains_invalid_column(), pub_rf_contains_invalid_column(), PublicationAddTables(), QueuePartitionConstraintValidation(), read_stream_begin_relation(), ReadBuffer_common(), rebuild_relation(), RefreshMatViewByOid(), reindex_index(), reindex_relation(), ReindexRelationConcurrently(), relation_is_updatable(), RelationBuildDesc(), RelationBuildLocalRelation(), RelationBuildPublicationDesc(), RelationBuildRuleLock(), RelationBuildTupleDesc(), RelationCacheInitializePhase3(), RelationClearRelation(), RelationDestroyRelation(), RelationGetFKeyList(), RelationGetIndexList(), RelationGetNumberOfBlocksInFork(), RelationGetPartitionDesc(), RelationGetPartitionKey(), RelationGetPartitionQual(), RelationIdGetRelation(), RelationInitIndexAccessInfo(), RelationInitLockInfo(), RelationInitPhysicalAddr(), RelationInitTableAccessMethod(), RelationParseRelOptions(), RelationReloadIndexInfo(), RelationReloadNailed(), RelationSetNewRelfilenumber(), RemoveInheritance(), RemovePolicyById(), RemoveTriggerById(), renameatt_internal(), RenameRelationInternal(), renametrig(), renametrig_partition(), ReorderBufferProcessTXN(), ReorderBufferToastReplace(), ResetSequence(), RewriteQuery(), rewriteTargetView(), rewriteValuesRTE(), ri_Check_Pk_Match(), RI_FKey_check(), RI_FKey_fk_upd_check_required(), RI_Initial_Check(), RI_PartitionRemove_Check(), ri_restrict(), ri_set(), SetAttrMissing(), SetMatViewPopulatedState(), SetRelationTableSpace(), StoreAttrDefault(), StorePartitionBound(), StorePartitionKey(), StoreRelCheck(), table_block_relation_estimate_size(), table_slot_callbacks(), TargetPrivilegesCheck(), toast_save_datum(), transformAlterTableStmt(), transformIndexConstraint(), transformMergeStmt(), transformPartitionCmd(), TransformPubWhereClauses(), transformRuleStmt(), transformTableLikeClause(), TryReuseIndex(), tuple_data_split_internal(), tuplesort_begin_cluster(), vac_estimate_reltuples(), vacuum_get_cutoffs(), vacuum_rel(), validate_index(), validate_relation_kind(), validatePartitionedIndex(), and write_relcache_init_file().
Oid RelationData::rd_replidindex |
Definition at line 155 of file rel.h.
Referenced by load_relcache_init_file(), RelationGetIdentityKeyBitmap(), RelationGetIndexAttrBitmap(), RelationGetIndexList(), and RelationGetReplicaIndex().
struct RowSecurityDesc* RelationData::rd_rsdesc |
Definition at line 119 of file rel.h.
Referenced by get_policies_for_relation(), load_relcache_init_file(), RelationBuildDesc(), RelationBuildRowSecurity(), RelationCacheInitializePhase3(), RelationClearRelation(), and RelationDestroyRelation().
RuleLock* RelationData::rd_rules |
Definition at line 115 of file rel.h.
Referenced by currtid_for_view(), DefineQueryRewrite(), fireRIRrules(), get_view_query(), load_relcache_init_file(), matchLocks(), RefreshMatViewByOid(), relation_is_updatable(), RelationBuildDesc(), RelationBuildRuleLock(), RelationCacheInitializePhase3(), RelationClearRelation(), and vac_update_relstats().
MemoryContext RelationData::rd_rulescxt |
Definition at line 116 of file rel.h.
Referenced by load_relcache_init_file(), RelationBuildDesc(), RelationBuildRuleLock(), and RelationDestroyRelation().
SMgrRelation RelationData::rd_smgr |
Definition at line 58 of file rel.h.
Referenced by AllocateRelationDesc(), CreateFakeRelcacheEntry(), formrdesc(), load_relcache_init_file(), RelationBuildDesc(), RelationBuildLocalRelation(), RelationCloseSmgr(), and RelationGetSmgr().
List* RelationData::rd_statlist |
Definition at line 158 of file rel.h.
Referenced by load_relcache_init_file(), RelationDestroyRelation(), and RelationGetStatExtList().
bool RelationData::rd_statvalid |
Definition at line 66 of file rel.h.
Referenced by load_relcache_init_file(), and RelationGetStatExtList().
Bitmapset* RelationData::rd_summarizedattr |
Definition at line 166 of file rel.h.
Referenced by RelationDestroyRelation(), and RelationGetIndexAttrBitmap().
RegProcedure* RelationData::rd_support |
Definition at line 209 of file rel.h.
Referenced by index_getprocid(), index_getprocinfo(), load_relcache_init_file(), RelationInitIndexAccessInfo(), and write_relcache_init_file().
struct FmgrInfo* RelationData::rd_supportinfo |
Definition at line 210 of file rel.h.
Referenced by index_getprocinfo(), load_relcache_init_file(), and RelationInitIndexAccessInfo().
const struct TableAmRoutine* RelationData::rd_tableam |
Definition at line 189 of file rel.h.
Referenced by formrdesc(), get_relation_info(), heap_getnext(), InitTableAmRoutine(), RelationCacheInitializePhase3(), table_beginscan(), table_beginscan_analyze(), table_beginscan_bm(), table_beginscan_catalog(), table_beginscan_parallel(), table_beginscan_sampling(), table_beginscan_strat(), table_beginscan_tid(), table_beginscan_tidrange(), table_endscan(), table_finish_bulk_insert(), table_index_build_range_scan(), table_index_build_scan(), table_index_delete_tuples(), table_index_fetch_begin(), table_index_fetch_end(), table_index_fetch_reset(), table_index_fetch_tuple(), table_index_validate_scan(), table_multi_insert(), table_parallelscan_estimate(), table_parallelscan_initialize(), table_parallelscan_reinitialize(), table_relation_copy_data(), table_relation_copy_for_cluster(), table_relation_estimate_size(), table_relation_fetch_toast_slice(), table_relation_needs_toast_table(), table_relation_nontransactional_truncate(), table_relation_set_new_filelocator(), table_relation_size(), table_relation_toast_am(), table_relation_vacuum(), table_rescan(), table_rescan_set_params(), table_rescan_tidrange(), table_scan_analyze_next_block(), table_scan_analyze_next_tuple(), table_scan_bitmap_next_block(), table_scan_bitmap_next_tuple(), table_scan_getnextslot(), table_scan_getnextslot_tidrange(), table_scan_sample_next_block(), table_scan_sample_next_tuple(), table_slot_callbacks(), table_tuple_complete_speculative(), table_tuple_delete(), table_tuple_fetch_row_version(), table_tuple_get_latest_tid(), table_tuple_insert(), table_tuple_insert_speculative(), table_tuple_lock(), table_tuple_satisfies_snapshot(), table_tuple_tid_valid(), and table_tuple_update().
Oid RelationData::rd_toastoid |
Definition at line 251 of file rel.h.
Referenced by copy_table_data(), and toast_save_datum().
TriggerDesc* RelationData::trigdesc |
Definition at line 117 of file rel.h.
Referenced by add_row_identity_columns(), ATExecAddInherit(), ATExecAttachPartition(), CopyFrom(), DefineRelation(), deparseDeleteSql(), deparseInsertSql(), deparseUpdateSql(), error_view_not_updatable(), ExecInitStoredGenerated(), has_row_triggers(), InitResultRelInfo(), load_relcache_init_file(), postgresPlanForeignModify(), relation_is_updatable(), RelationBuildDesc(), RelationBuildTriggers(), RelationCacheInitializePhase3(), RelationDestroyRelation(), vac_update_relstats(), and view_has_instead_trigger().