diff options
Diffstat (limited to 'src/include/nodes/execnodes.h')
-rw-r--r-- | src/include/nodes/execnodes.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/include/nodes/execnodes.h b/src/include/nodes/execnodes.h index 0f10d4432bd..18e572f1712 100644 --- a/src/include/nodes/execnodes.h +++ b/src/include/nodes/execnodes.h @@ -571,6 +571,9 @@ typedef struct ResultRelInfo * one of its ancestors; see ExecCrossPartitionUpdateForeignKey(). */ List *ri_ancestorResultRels; + + /* for use by nodeModifyTable.c when performing batch-inserts */ + struct ModifyTableState *ri_ModifyTableState; } ResultRelInfo; /* ---------------- @@ -692,6 +695,12 @@ typedef struct EState int es_jit_flags; struct JitContext *es_jit; struct JitInstrumentation *es_jit_worker_instr; + + /* + * The following list contains ResultRelInfos for foreign tables on which + * batch-inserts are to be executed. + */ + List *es_insert_pending_result_relations; } EState; |