Header And Logo

PostgreSQL
| The world's most advanced open source database.

Data Fields

RelationData Struct Reference

#include <rel.h>

Data Fields

RelFileNode rd_node
struct SMgrRelationDatard_smgr
int rd_refcnt
BackendId rd_backend
bool rd_islocaltemp
bool rd_isnailed
bool rd_ispopulated
bool rd_isvalid
char rd_indexvalid
SubTransactionId rd_createSubid
SubTransactionId rd_newRelfilenodeSubid
Form_pg_class rd_rel
TupleDesc rd_att
Oid rd_id
Listrd_indexlist
Bitmapsetrd_indexattr
Bitmapsetrd_keyattr
Oid rd_oidindex
LockInfoData rd_lockInfo
RuleLockrd_rules
MemoryContext rd_rulescxt
TriggerDesctrigdesc
byteard_options
Form_pg_index rd_index
struct HeapTupleDatard_indextuple
Form_pg_am rd_am
MemoryContext rd_indexcxt
RelationAmInford_aminfo
Oidrd_opfamily
Oidrd_opcintype
RegProcedurerd_support
FmgrInford_supportinfo
int16rd_indoption
Listrd_indexprs
Listrd_indpred
Oidrd_exclops
Oidrd_exclprocs
uint16rd_exclstrats
void * rd_amcache
Oidrd_indcollation
struct FdwRoutinerd_fdwroutine
Oid rd_toastoid
struct PgStat_TableStatuspgstat_info

Detailed Description

Definition at line 71 of file rel.h.


Field Documentation

Definition at line 148 of file rel.h.

Referenced by load_relcache_init_file(), and RelationInitIndexAccessInfo().

Definition at line 108 of file rel.h.

Referenced by AddNewRelationTuple(), addRangeTableEntry(), addRangeTableEntryForRelation(), AddRelationNewConstraints(), AggregateCreate(), AllocateRelationDesc(), attnameAttNum(), attnumAttName(), attnumCollationId(), attnumTypeId(), AttrDefaultFetch(), boot_openrel(), build_column_default(), build_index_tlist(), build_physical_tlist(), check_foreign_key(), check_primary_key(), CheckConstraintFetch(), CheckIndexCompatible(), checkInsertTargets(), ConversionCreate(), CopyFrom(), CreateForeignDataWrapper(), CreateForeignServer(), CreateForeignTable(), CreateOpFamily(), CreateTableSpace(), CreateTrigger(), CreateUserMapping(), database_to_xmlschema_internal(), DefineOpClass(), DefineTSConfiguration(), DefineTSDictionary(), DefineTSParser(), DefineTSTemplate(), DefineVirtualRelation(), do_analyze_rel(), examine_attribute(), ExecConstraints(), ExecInitModifyTable(), ExecInsert(), ExecRelCheck(), ExecUpdate(), expand_targetlist(), expandRelation(), find_composite_type_dependencies(), formrdesc(), funny_dup17(), gbt_var_penalty(), get_pkey_attnames(), get_rel_data_width(), get_relation_constraints(), get_rels_with_domain(), get_sql_delete(), get_sql_insert(), get_sql_update(), get_tuple_of_interest(), GetDomainConstraints(), gistchoose(), gistDeCompressAtt(), gistFormTuple(), gistgetadjusted(), gistInitBuffering(), gistRelocateBuildBuffersOnSplit(), heap_create_with_catalog(), initGISTstate(), insert_event_trigger_tuple(), InsertExtensionTuple(), InsertOneValue(), InsertRule(), intorel_startup(), inv_truncate(), inv_write(), lo_manage(), load_relcache_init_file(), MakeConfigurationMapping(), MergeWithExistingConstraint(), NamespaceCreate(), needs_toast_table(), OperatorCreate(), OperatorShellMake(), pg_get_triggerdef_worker(), plperl_modify_tuple(), plperl_trigger_build_args(), plpgsql_exec_trigger(), pltcl_trigger_handler(), PLy_exec_trigger(), PLy_modify_tuple(), PLy_trigger_build_args(), recordMultipleDependencies(), RelationBuildLocalRelation(), RelationBuildTriggers(), RelationBuildTupleDesc(), RelationCacheInitializePhase3(), RelationClearRelation(), RelationDestroyRelation(), RelationGetExclusionInfo(), rewriteTargetListIU(), rewriteValuesRTE(), ri_ExtractValues(), ri_ReportViolation(), schema_to_xmlschema_internal(), shdepAddDependency(), spgGetCache(), SPI_modifytuple(), StoreAttrDefault(), storeOperators(), storeProcedures(), table_to_xml_and_xmlschema(), table_to_xmlschema(), toast_delete(), toast_fetch_datum(), toast_fetch_datum_slice(), toast_insert_or_update(), toast_save_datum(), transformAssignedExpr(), transformIndexConstraint(), triggered_change_notification(), tsvector_update_trigger(), TypeShellMake(), validate_pkattnums(), and write_relcache_init_file().

Definition at line 112 of file rel.h.

Referenced by RelationGetIndexAttrBitmap().

Definition at line 73 of file rel.h.

Referenced by _bt_blwritepage(), _bt_delitems_delete(), _bt_delitems_vacuum(), _bt_getroot(), _bt_insertonpg(), _bt_log_reuse_page(), _bt_newroot(), _bt_pagedel(), _bt_split(), addLeafTuple(), AlterSequence(), ATExecAddIndex(), ATExecSetTableSpace(), calculate_indexes_size(), calculate_table_size(), calculate_toast_table_size(), CheckForSerializableConflictIn(), CheckTableForSerializableConflictIn(), CreateFakeRelcacheEntry(), createPostingTree(), dataPlaceToPage(), dataSplitPage(), do_setval(), doPickSplit(), DropAllPredicateLocksFromTable(), end_heap_rewrite(), entryPlaceToPage(), entrySplitPage(), fill_seq_with_data(), FlushRelationBuffers(), ginbuild(), ginDeletePage(), ginHeapTupleFastInsert(), ginUpdateStats(), gistbuild(), gistbulkdelete(), gistplacetopage(), heap_create(), heap_delete(), heap_inplace_update(), heap_insert(), heap_lock_tuple(), heap_lock_updated_tuple_rec(), heap_multi_insert(), log_heap_clean(), log_heap_freeze(), log_heap_update(), moveLeafs(), nextval_internal(), PageIsPredicateLocked(), pg_relation_size(), PredicateLockPage(), PredicateLockPageSplit(), PredicateLockRelation(), PredicateLockTuple(), raw_heap_insert(), RelationDropStorage(), RelationInitPhysicalAddr(), RelationSetNewRelfilenode(), RelationTruncate(), ReleaseAndReadBuffer(), SetMatViewToPopulated(), shiftList(), spgAddNodeAction(), spgbuild(), spgSplitNodeAction(), ss_get_location(), ss_report_location(), TryReuseIndex(), vacuum_log_cleanup_info(), vacuumLeafPage(), vacuumLeafRoot(), vacuumRedirectAndPlaceholder(), visibilitymap_set(), writeListPage(), and xlogVacuumPage().

Definition at line 107 of file rel.h.

Referenced by _bt_check_unique(), _bt_doinsert(), _bt_pagedel(), acquire_sample_rows(), AcquireRewriteLocks(), AddNewRelationTuple(), addRangeTableEntry(), addRangeTableEntryForRelation(), AllocateRelationDesc(), AlterTableNamespace(), AlterTableNamespaceInternal(), analyze_rel(), ATAddForeignKeyConstraint(), ATExecAddColumn(), ATExecAddInherit(), ATExecAddOf(), ATExecClusterOn(), ATExecDropOf(), ATExecSetRelOptions(), ATExecSetTableSpace(), ATGetQueueEntry(), ATPrepAddColumn(), ATPrepAddInherit(), ATPrepAlterColumnType(), ATPrepCmd(), ATPrepDropColumn(), ATPrepSetStatistics(), ATRewriteTables(), ATSimplePermissions(), ATSimpleRecursion(), attnameAttNum(), attnumAttName(), attnumTypeId(), ATTypedTableRecursion(), BeginCopy(), BeginCopyTo(), boot_openrel(), BootstrapToastTable(), build_index_tlist(), BuildIndexValueDescription(), CacheInvalidateRelcache(), calculate_indexes_size(), calculate_table_size(), calculate_toast_table_size(), check_of_type(), checkInsertTargets(), CheckTableNotInUse(), CheckValidResultRel(), CheckValidRowMarkRel(), cluster(), cluster_rel(), CommentObject(), ConstructTupleDescriptor(), copy_heap_data(), CopyFrom(), create_toast_table(), CreateFakeRelcacheEntry(), CreateTrigger(), currtid_byrelname(), currtid_byreloid(), DefineIndex(), DefineQueryRewrite(), DefineVirtualRelation(), do_analyze_rel(), DoCopy(), estimate_rel_size(), ExecContextForcesOids(), ExecIndexBuildScanKeys(), ExecInitModifyTable(), ExecInsert(), ExecModifyTable(), ExecRefreshMatView(), ExecSecLabelStmt(), ExecuteTruncate(), expand_inherited_rtentry(), find_composite_type_dependencies(), finish_heap_swap(), formrdesc(), generate_relation_name(), get_raw_page_internal(), get_relation_by_qualified_name(), get_relation_info(), get_rels_with_domain(), get_view_query(), GetNewOid(), gistGetFakeLSN(), heap_delete(), heap_drop_with_catalog(), heap_is_matview_init_state(), heap_open(), heap_openrv(), heap_openrv_extended(), heap_prepare_insert(), heap_sync(), heap_truncate_check_FKs(), heap_truncate_one_rel(), heap_update(), index_build(), index_create(), index_open(), IndexBuildHeapScan(), init_sequence(), InitResultRelInfo(), InsertPgClassTuple(), intorel_receive(), isQueryUsingTempRelation_walker(), lazy_scan_heap(), lazy_vacuum_rel(), load_relcache_init_file(), load_typcache_tupdesc(), make_new_heap(), MergeAttributes(), pgstat_initstats(), pgstat_relation(), pgstat_report_analyze(), pltcl_init_load_unknown(), postgresAcquireSampleRowsFunc(), postgresAnalyzeForeignTable(), PredicateLockingNeededForRelation(), process_owned_by(), raw_heap_insert(), ReadBufferExtended(), rebuild_relation(), reindex_relation(), relation_is_updatable(), RelationBuildDesc(), RelationBuildLocalRelation(), RelationBuildRuleLock(), RelationBuildTupleDesc(), RelationCacheInitializePhase3(), RelationClearRelation(), RelationDestroyRelation(), RelationGetExclusionInfo(), RelationGetOidIndex(), RelationIdGetRelation(), RelationInitIndexAccessInfo(), RelationInitLockInfo(), RelationInitPhysicalAddr(), RelationParseRelOptions(), RelationReloadIndexInfo(), RelationSetNewRelfilenode(), RemoveTriggerById(), renameatt_internal(), RenameRelationInternal(), RewriteQuery(), rewriteTargetListIU(), rewriteTargetListUD(), rewriteTargetView(), RI_Initial_Check(), SetMatViewToPopulated(), suppress_redundant_updates_trigger(), toast_delete(), toast_fetch_datum(), toast_fetch_datum_slice(), toast_insert_or_update(), toast_save_datum(), toastrel_valueid_exists(), transformColumnDefinition(), transformIndexConstraint(), transformRuleStmt(), transformTableLikeClause(), transformUpdateStmt(), truncate_check_rel(), tuplesort_begin_cluster(), vac_estimate_reltuples(), vacuum_rel(), validate_index(), validate_index_heapscan(), and write_relcache_init_file().

Definition at line 152 of file rel.h.

Referenced by index_getprocinfo(), load_relcache_init_file(), and RelationInitIndexAccessInfo().

Definition at line 182 of file rel.h.

Referenced by copy_heap_data(), and toast_save_datum().


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