PostgreSQL Source Code git master
Data Fields
ResultRelInfo Struct Reference

#include <execnodes.h>

Data Fields

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
void *  ri_FdwState
 
 
int  ri_NumSlots
 
 
int  ri_BatchSize
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Detailed Description

Definition at line 472 of file execnodes.h.

Field Documentation

ri_AllNullSlot

TupleTableSlot* ResultRelInfo::ri_AllNullSlot

Definition at line 530 of file execnodes.h.

Referenced by ExecGetAllNullSlot(), and InitResultRelInfo().

ri_ancestorResultRels

List* ResultRelInfo::ri_ancestorResultRels

Definition at line 628 of file execnodes.h.

Referenced by ExecCloseResultRelations(), and ExecGetAncestorResultRels().

ri_BatchSize

int ResultRelInfo::ri_BatchSize

Definition at line 544 of file execnodes.h.

Referenced by CopyFrom(), CopyMultiInsertBufferFlush(), ExecInitModifyTable(), ExecInitRoutingInfo(), ExecInsert(), postgresExplainForeignModify(), and postgresGetForeignModifyBatchSize().

ri_CheckConstraintExprs

ExprState** ResultRelInfo::ri_CheckConstraintExprs

Definition at line 555 of file execnodes.h.

Referenced by ExecRelCheck(), and InitResultRelInfo().

ri_ChildToRootMap

TupleConversionMap* ResultRelInfo::ri_ChildToRootMap

Definition at line 600 of file execnodes.h.

Referenced by ExecGetChildToRootMap(), and InitResultRelInfo().

ri_ChildToRootMapValid

bool ResultRelInfo::ri_ChildToRootMapValid

Definition at line 601 of file execnodes.h.

Referenced by ExecGetChildToRootMap(), and InitResultRelInfo().

ri_CopyMultiInsertBuffer

struct CopyMultiInsertBuffer* ResultRelInfo::ri_CopyMultiInsertBuffer

Definition at line 622 of file execnodes.h.

Referenced by CopyFrom(), CopyMultiInsertBufferCleanup(), CopyMultiInsertInfoNextFreeSlot(), CopyMultiInsertInfoSetupBuffer(), CopyMultiInsertInfoStore(), ExecInitRoutingInfo(), and InitResultRelInfo().

ri_extraUpdatedCols

Bitmapset* ResultRelInfo::ri_extraUpdatedCols

Definition at line 498 of file execnodes.h.

Referenced by ExecGetExtraUpdatedCols(), ExecInitGenerated(), and InitResultRelInfo().

ri_extraUpdatedCols_valid

bool ResultRelInfo::ri_extraUpdatedCols_valid

Definition at line 500 of file execnodes.h.

Referenced by ExecGetExtraUpdatedCols(), and ExecInitGenerated().

ri_FdwRoutine

struct FdwRoutine* ResultRelInfo::ri_FdwRoutine

Definition at line 533 of file execnodes.h.

Referenced by CheckValidResultRel(), CopyFrom(), CopyMultiInsertBufferCleanup(), CopyMultiInsertBufferFlush(), CopyMultiInsertBufferInit(), ExecARDeleteTriggers(), ExecARInsertTriggers(), ExecARUpdateTriggers(), ExecBatchInsert(), ExecCleanupTupleRouting(), ExecDelete(), ExecEndModifyTable(), ExecInitModifyTable(), ExecInitRoutingInfo(), ExecInsert(), ExecUpdate(), InitResultRelInfo(), and show_modifytable_info().

ri_FdwState

void* ResultRelInfo::ri_FdwState

Definition at line 536 of file execnodes.h.

Referenced by execute_foreign_modify(), InitResultRelInfo(), postgresBeginForeignInsert(), postgresBeginForeignModify(), postgresEndForeignInsert(), postgresEndForeignModify(), postgresExecForeignBatchInsert(), postgresExecForeignInsert(), and postgresGetForeignModifyBatchSize().

ri_GeneratedExprsI

ExprState** ResultRelInfo::ri_GeneratedExprsI

Definition at line 566 of file execnodes.h.

Referenced by ExecComputeStoredGenerated(), ExecInitGenerated(), and InitResultRelInfo().

ri_GeneratedExprsU

ExprState** ResultRelInfo::ri_GeneratedExprsU

Definition at line 567 of file execnodes.h.

Referenced by ExecComputeStoredGenerated(), ExecInitGenerated(), and InitResultRelInfo().

ri_GenVirtualNotNullConstraintExprs

ExprState** ResultRelInfo::ri_GenVirtualNotNullConstraintExprs

Definition at line 561 of file execnodes.h.

Referenced by ExecRelGenVirtualNotNull(), and InitResultRelInfo().

ri_IndexRelationDescs

RelationPtr ResultRelInfo::ri_IndexRelationDescs

Definition at line 486 of file execnodes.h.

Referenced by apply_handle_delete_internal(), apply_handle_insert_internal(), BuildConflictIndexInfo(), CatalogIndexInsert(), ExecCheckIndexConstraints(), ExecCloseIndices(), ExecInsert(), ExecInsertIndexTuples(), ExecOpenIndices(), ExecUpdatePrologue(), InitConflictIndexes(), and InitResultRelInfo().

ri_IndexRelationInfo

IndexInfo** ResultRelInfo::ri_IndexRelationInfo

Definition at line 489 of file execnodes.h.

Referenced by BuildConflictIndexInfo(), CatalogIndexInsert(), ExecCheckIndexConstraints(), ExecCloseIndices(), ExecInsertIndexTuples(), ExecOpenIndices(), InitConflictIndexes(), and InitResultRelInfo().

ri_MergeActions

List* ResultRelInfo::ri_MergeActions[NUM_MERGE_MATCH_KINDS]

Definition at line 586 of file execnodes.h.

Referenced by ExecInitMerge(), ExecMergeMatched(), ExecMergeNotMatched(), and InitResultRelInfo().

ri_MergeJoinCondition

ExprState* ResultRelInfo::ri_MergeJoinCondition

Definition at line 589 of file execnodes.h.

Referenced by ExecInitMerge(), ExecMergeMatched(), and InitResultRelInfo().

ri_needLockTagTuple

bool ResultRelInfo::ri_needLockTagTuple

Definition at line 512 of file execnodes.h.

Referenced by CheckValidResultRel(), ExecMergeMatched(), ExecModifyTable(), ExecOnConflictUpdate(), ExecUpdate(), and InitResultRelInfo().

ri_newTupleSlot

TupleTableSlot* ResultRelInfo::ri_newTupleSlot

Definition at line 505 of file execnodes.h.

Referenced by ExecGetInsertNewTuple(), ExecInitInsertProjection(), ExecInitMerge(), ExecInitMergeTupleSlots(), ExecInitUpdateProjection(), and InitResultRelInfo().

ri_NumGeneratedNeededI

int ResultRelInfo::ri_NumGeneratedNeededI

Definition at line 570 of file execnodes.h.

Referenced by ExecComputeStoredGenerated(), and ExecInitGenerated().

ri_NumGeneratedNeededU

int ResultRelInfo::ri_NumGeneratedNeededU

Definition at line 571 of file execnodes.h.

Referenced by ExecComputeStoredGenerated(), and ExecInitGenerated().

ri_NumIndices

int ResultRelInfo::ri_NumIndices

Definition at line 483 of file execnodes.h.

Referenced by BuildConflictIndexInfo(), CatalogIndexInsert(), CopyFrom(), CopyMultiInsertBufferFlush(), ExecCheckIndexConstraints(), ExecCloseIndices(), ExecCloseResultRelations(), ExecInsert(), ExecInsertIndexTuples(), ExecOpenIndices(), ExecSimpleRelationInsert(), ExecSimpleRelationUpdate(), ExecUpdateEpilogue(), InitConflictIndexes(), and InitResultRelInfo().

ri_NumSlots

int ResultRelInfo::ri_NumSlots

Definition at line 542 of file execnodes.h.

Referenced by ExecBatchInsert(), ExecInsert(), and ExecPendingInserts().

ri_NumSlotsInitialized

int ResultRelInfo::ri_NumSlotsInitialized

Definition at line 543 of file execnodes.h.

Referenced by ExecEndModifyTable(), and ExecInsert().

ri_oldTupleSlot

TupleTableSlot* ResultRelInfo::ri_oldTupleSlot

Definition at line 507 of file execnodes.h.

Referenced by ExecCrossPartitionUpdate(), ExecInitMergeTupleSlots(), ExecInitUpdateProjection(), ExecMergeMatched(), ExecModifyTable(), ExecUpdate(), and InitResultRelInfo().

ri_onConflict

OnConflictSetState* ResultRelInfo::ri_onConflict

Definition at line 583 of file execnodes.h.

Referenced by ExecInitModifyTable(), ExecInitPartitionInfo(), ExecOnConflictUpdate(), and InitResultRelInfo().

ri_onConflictArbiterIndexes

List* ResultRelInfo::ri_onConflictArbiterIndexes

Definition at line 580 of file execnodes.h.

Referenced by apply_handle_insert_internal(), CheckAndReportConflict(), ExecInitModifyTable(), ExecInitPartitionInfo(), ExecInsert(), ExecSimpleRelationInsert(), ExecSimpleRelationUpdate(), InitConflictIndexes(), and InitResultRelInfo().

ri_PartitionCheckExpr

ExprState* ResultRelInfo::ri_PartitionCheckExpr

Definition at line 592 of file execnodes.h.

Referenced by ExecPartitionCheck().

ri_PartitionTupleSlot

TupleTableSlot* ResultRelInfo::ri_PartitionTupleSlot

Definition at line 619 of file execnodes.h.

Referenced by apply_handle_tuple_routing(), CopyFrom(), ExecFindPartition(), ExecInitRoutingInfo(), ExecPrepareTupleRouting(), and InitResultRelInfo().

ri_PlanSlots

TupleTableSlot** ResultRelInfo::ri_PlanSlots

Definition at line 546 of file execnodes.h.

Referenced by ExecEndModifyTable(), ExecInsert(), and ExecPendingInserts().

ri_projectNew

ProjectionInfo* ResultRelInfo::ri_projectNew

Definition at line 503 of file execnodes.h.

Referenced by ExecGetInsertNewTuple(), ExecGetUpdateNewTuple(), ExecInitInsertProjection(), ExecInitUpdateProjection(), and InitResultRelInfo().

ri_projectNewInfoValid

bool ResultRelInfo::ri_projectNewInfoValid

Definition at line 509 of file execnodes.h.

Referenced by ExecCrossPartitionUpdate(), ExecGetUpdateNewTuple(), ExecInitInsertProjection(), ExecInitMerge(), ExecInitMergeTupleSlots(), ExecInitUpdateProjection(), ExecModifyTable(), ExecUpdate(), and InitResultRelInfo().

ri_projectReturning

ProjectionInfo* ResultRelInfo::ri_projectReturning

Definition at line 577 of file execnodes.h.

Referenced by ExecDelete(), ExecInitMerge(), ExecInitModifyTable(), ExecInsert(), ExecMergeMatched(), ExecModifyTable(), ExecOnConflictUpdate(), ExecProcessReturning(), ExecUpdate(), InitResultRelInfo(), and postgresGetForeignModifyBatchSize().

ri_RangeTableIndex

Index ResultRelInfo::ri_RangeTableIndex

Definition at line 477 of file execnodes.h.

Referenced by CatalogOpenIndexes(), ExecCloseResultRelations(), ExecDelete(), ExecInitMerge(), ExecInitPartitionInfo(), ExecMergeMatched(), ExecUpdate(), GetResultRTEPermissionInfo(), GetTupleForTrigger(), InitResultRelInfo(), postgresBeginDirectModify(), postgresBeginForeignInsert(), postgresBeginForeignModify(), and show_modifytable_info().

ri_RelationDesc

Relation ResultRelInfo::ri_RelationDesc

Definition at line 480 of file execnodes.h.

Referenced by AfterTriggerExecute(), afterTriggerInvokeEvents(), AfterTriggerSaveEvent(), apply_handle_delete_internal(), apply_handle_insert_internal(), apply_handle_tuple_routing(), apply_handle_update_internal(), build_tuple_value_details(), CatalogIndexInsert(), CatalogOpenIndexes(), CheckValidResultRel(), CopyFrom(), CopyMultiInsertBufferCleanup(), CopyMultiInsertBufferFlush(), CopyMultiInsertInfoInit(), CopyMultiInsertInfoNextFreeSlot(), create_foreign_modify(), ExecBatchInsert(), ExecBRDeleteTriggers(), ExecBRInsertTriggers(), ExecBRUpdateTriggers(), ExecBSDeleteTriggers(), ExecBSInsertTriggers(), ExecBSTruncateTriggers(), ExecBSUpdateTriggers(), ExecCheckIndexConstraints(), ExecCheckTIDVisible(), ExecCleanupTupleRouting(), ExecCloseResultRelations(), ExecComputeStoredGenerated(), ExecConstraints(), ExecCrossPartitionUpdate(), ExecCrossPartitionUpdateForeignKey(), ExecDelete(), ExecDeleteAct(), ExecFindPartition(), ExecGetAllNullSlot(), ExecGetAncestorResultRels(), ExecGetChildToRootMap(), ExecGetResultRelCheckAsUser(), ExecGetReturningSlot(), ExecGetRootToChildMap(), ExecGetTriggerNewSlot(), ExecGetTriggerOldSlot(), ExecGetTriggerResultRel(), ExecInitGenerated(), ExecInitInsertProjection(), ExecInitMerge(), ExecInitMergeTupleSlots(), ExecInitModifyTable(), ExecInitPartitionInfo(), ExecInitRoutingInfo(), ExecInitUpdateProjection(), ExecInsert(), ExecInsertIndexTuples(), ExecIRDeleteTriggers(), ExecIRInsertTriggers(), ExecIRUpdateTriggers(), ExecLookupResultRelByOid(), ExecMergeMatched(), ExecModifyTable(), ExecOnConflictUpdate(), ExecOpenIndices(), ExecPartitionCheck(), ExecPartitionCheckEmitError(), ExecRelCheck(), ExecRelGenVirtualNotNull(), ExecSimpleRelationDelete(), ExecSimpleRelationInsert(), ExecSimpleRelationUpdate(), ExecUpdate(), ExecUpdateAct(), ExecUpdateLockMode(), ExecUpdatePrepareSlot(), ExecUpdatePrologue(), ExecuteTruncateGuts(), ExecWithCheckOptions(), FindConflictTuple(), GetTupleForTrigger(), InitResultRelInfo(), postgresBeginForeignInsert(), postgresGetForeignModifyBatchSize(), report_triggers(), ReportApplyConflict(), ReportNotNullViolationError(), and TriggerEnabled().

ri_returningList

List* ResultRelInfo::ri_returningList

Definition at line 574 of file execnodes.h.

Referenced by ExecInitMerge(), ExecInitModifyTable(), and postgresBeginForeignInsert().

ri_ReturningSlot

TupleTableSlot* ResultRelInfo::ri_ReturningSlot

Definition at line 527 of file execnodes.h.

Referenced by ExecGetReturningSlot(), and InitResultRelInfo().

ri_RootResultRelInfo

struct ResultRelInfo* ResultRelInfo::ri_RootResultRelInfo

Definition at line 618 of file execnodes.h.

Referenced by ExecARDeleteTriggers(), ExecARInsertTriggers(), ExecARUpdateTriggers(), ExecASUpdateTriggers(), ExecBSUpdateTriggers(), ExecConstraints(), ExecCrossPartitionUpdateForeignKey(), ExecGetAncestorResultRels(), ExecGetChildToRootMap(), ExecGetInsertedCols(), ExecGetRootToChildMap(), ExecGetUpdatedCols(), ExecInitModifyTable(), ExecInsert(), ExecPartitionCheckEmitError(), ExecWithCheckOptions(), GetResultRTEPermissionInfo(), InitResultRelInfo(), postgresBeginForeignInsert(), and ReportNotNullViolationError().

ri_RootToChildMap

TupleConversionMap* ResultRelInfo::ri_RootToChildMap

Definition at line 606 of file execnodes.h.

Referenced by ExecGetRootToChildMap(), and InitResultRelInfo().

ri_RootToChildMapValid

bool ResultRelInfo::ri_RootToChildMapValid

Definition at line 607 of file execnodes.h.

Referenced by ExecGetRootToChildMap(), and InitResultRelInfo().

ri_RowIdAttNo

AttrNumber ResultRelInfo::ri_RowIdAttNo

Definition at line 495 of file execnodes.h.

Referenced by ExecInitModifyTable(), ExecMergeMatched(), ExecModifyTable(), and InitResultRelInfo().

ri_Slots

TupleTableSlot** ResultRelInfo::ri_Slots

Definition at line 545 of file execnodes.h.

Referenced by ExecEndModifyTable(), ExecInsert(), and ExecPendingInserts().

ri_TrigDesc

TriggerDesc* ResultRelInfo::ri_TrigDesc

Definition at line 515 of file execnodes.h.

Referenced by afterTriggerInvokeEvents(), AfterTriggerSaveEvent(), CatalogOpenIndexes(), CopyFrom(), CopyMultiInsertBufferFlush(), ExecARDeleteTriggers(), ExecARInsertTriggers(), ExecARUpdateTriggers(), ExecASDeleteTriggers(), ExecASInsertTriggers(), ExecASTruncateTriggers(), ExecASUpdateTriggers(), ExecBRDeleteTriggers(), ExecBRInsertTriggers(), ExecBRUpdateTriggers(), ExecBSDeleteTriggers(), ExecBSInsertTriggers(), ExecBSTruncateTriggers(), ExecBSUpdateTriggers(), ExecCrossPartitionUpdateForeignKey(), ExecDelete(), ExecDeletePrologue(), ExecInsert(), ExecIRDeleteTriggers(), ExecIRInsertTriggers(), ExecIRUpdateTriggers(), ExecMergeMatched(), ExecPrepareTupleRouting(), ExecSimpleRelationDelete(), ExecSimpleRelationInsert(), ExecSimpleRelationUpdate(), ExecUpdate(), ExecUpdateAct(), ExecUpdatePrologue(), InitResultRelInfo(), postgresGetForeignModifyBatchSize(), report_triggers(), and TriggerEnabled().

ri_TrigFunctions

FmgrInfo* ResultRelInfo::ri_TrigFunctions

Definition at line 518 of file execnodes.h.

Referenced by afterTriggerInvokeEvents(), ExecBRDeleteTriggers(), ExecBRInsertTriggers(), ExecBRUpdateTriggers(), ExecBSDeleteTriggers(), ExecBSInsertTriggers(), ExecBSTruncateTriggers(), ExecBSUpdateTriggers(), ExecIRDeleteTriggers(), ExecIRInsertTriggers(), ExecIRUpdateTriggers(), and InitResultRelInfo().

ri_TrigInstrument

Instrumentation* ResultRelInfo::ri_TrigInstrument

Definition at line 524 of file execnodes.h.

Referenced by afterTriggerInvokeEvents(), ExecBRDeleteTriggers(), ExecBRInsertTriggers(), ExecBRUpdateTriggers(), ExecBSDeleteTriggers(), ExecBSInsertTriggers(), ExecBSTruncateTriggers(), ExecBSUpdateTriggers(), ExecIRDeleteTriggers(), ExecIRInsertTriggers(), ExecIRUpdateTriggers(), InitResultRelInfo(), and report_triggers().

ri_TrigNewSlot

TupleTableSlot* ResultRelInfo::ri_TrigNewSlot

Definition at line 529 of file execnodes.h.

Referenced by ExecGetTriggerNewSlot(), and InitResultRelInfo().

ri_TrigOldSlot

TupleTableSlot* ResultRelInfo::ri_TrigOldSlot

Definition at line 528 of file execnodes.h.

Referenced by ExecGetTriggerOldSlot(), and InitResultRelInfo().

ri_TrigWhenExprs

ExprState** ResultRelInfo::ri_TrigWhenExprs

Definition at line 521 of file execnodes.h.

Referenced by InitResultRelInfo(), and TriggerEnabled().

ri_usesFdwDirectModify

bool ResultRelInfo::ri_usesFdwDirectModify

Definition at line 539 of file execnodes.h.

Referenced by ExecEndModifyTable(), ExecInitModifyTable(), ExecModifyTable(), InitResultRelInfo(), postgresBeginForeignInsert(), and show_modifytable_info().

ri_WithCheckOptionExprs

List* ResultRelInfo::ri_WithCheckOptionExprs

Definition at line 552 of file execnodes.h.

Referenced by ExecInitMerge(), ExecInitModifyTable(), and ExecWithCheckOptions().

ri_WithCheckOptions

List* ResultRelInfo::ri_WithCheckOptions

Definition at line 549 of file execnodes.h.

Referenced by ExecBatchInsert(), ExecInitMerge(), ExecInitModifyTable(), ExecInsert(), ExecMergeMatched(), ExecOnConflictUpdate(), ExecUpdateAct(), ExecUpdateEpilogue(), ExecWithCheckOptions(), postgresBeginForeignInsert(), and postgresGetForeignModifyBatchSize().

type

NodeTag ResultRelInfo::type

Definition at line 474 of file execnodes.h.

Referenced by InitResultRelInfo().


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

AltStyle によって変換されたページ (->オリジナル) /