| 1 |
/*------------------------------------------------------------------------- |
| 2 |
* |
| 3 |
* nodeModifyTable.h |
| 4 |
* |
| 5 |
* |
| 6 |
* Portions Copyright (c) 1996-2025, 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 ExecInitGenerated(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 */ |