PostgreSQL Source Code  git master
nodeModifyTable.h
Go to the documentation of this file.
1 /*-------------------------------------------------------------------------
2  *
3  * nodeModifyTable.h
4  *
5  *
6  * Portions Copyright (c) 1996-2024, PostgreSQL Global Development Group
7  * Portions Copyright (c) 1994, Regents of the University of California
8  *
9  * src/include/executor/nodeModifyTable.h
10  *
11  *-------------------------------------------------------------------------
12  */
13 #ifndef NODEMODIFYTABLE_H
14 #define NODEMODIFYTABLE_H
15 
16 #include "nodes/execnodes.h"
17 
18 extern void ExecInitStoredGenerated(ResultRelInfo *resultRelInfo,
19  EState *estate,
20  CmdType cmdtype);
21 
22 extern void ExecComputeStoredGenerated(ResultRelInfo *resultRelInfo,
23  EState *estate, TupleTableSlot *slot,
24  CmdType cmdtype);
25 
26 extern ModifyTableState *ExecInitModifyTable(ModifyTable *node, EState *estate, int eflags);
27 extern void ExecEndModifyTable(ModifyTableState *node);
28 extern void ExecReScanModifyTable(ModifyTableState *node);
29 
30 extern void ExecInitMergeTupleSlots(ModifyTableState *mtstate,
31  ResultRelInfo *resultRelInfo);
32 
33 #endif /* NODEMODIFYTABLE_H */
void ExecInitMergeTupleSlots(ModifyTableState *mtstate, ResultRelInfo *resultRelInfo)
void ExecInitStoredGenerated(ResultRelInfo *resultRelInfo, EState *estate, CmdType cmdtype)
void ExecComputeStoredGenerated(ResultRelInfo *resultRelInfo, EState *estate, TupleTableSlot *slot, CmdType cmdtype)
void ExecReScanModifyTable(ModifyTableState *node)
void ExecEndModifyTable(ModifyTableState *node)
ModifyTableState * ExecInitModifyTable(ModifyTable *node, EState *estate, int eflags)
CmdType
Definition: nodes.h:263