mirror of
https://github.com/postgres/postgres.git
synced 2025-10-29 22:49:41 +03:00
New files for MERGE
This commit is contained in:
22
src/include/executor/nodeMerge.h
Normal file
22
src/include/executor/nodeMerge.h
Normal file
@@ -0,0 +1,22 @@
|
||||
/*-------------------------------------------------------------------------
|
||||
*
|
||||
* nodeMerge.h
|
||||
*
|
||||
*
|
||||
* Portions Copyright (c) 1996-2018, PostgreSQL Global Development Group
|
||||
* Portions Copyright (c) 1994, Regents of the University of California
|
||||
*
|
||||
* src/include/executor/nodeMerge.h
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
#ifndef NODEMERGE_H
|
||||
#define NODEMERGE_H
|
||||
|
||||
#include "nodes/execnodes.h"
|
||||
|
||||
extern void
|
||||
ExecMerge(ModifyTableState *mtstate, EState *estate, TupleTableSlot *slot,
|
||||
JunkFilter *junkfilter, ResultRelInfo *resultRelInfo);
|
||||
|
||||
#endif /* NODEMERGE_H */
|
||||
19
src/include/parser/parse_merge.h
Normal file
19
src/include/parser/parse_merge.h
Normal file
@@ -0,0 +1,19 @@
|
||||
/*-------------------------------------------------------------------------
|
||||
*
|
||||
* parse_merge.h
|
||||
* handle merge-stmt in parser
|
||||
*
|
||||
*
|
||||
* Portions Copyright (c) 1996-2018, PostgreSQL Global Development Group
|
||||
* Portions Copyright (c) 1994, Regents of the University of California
|
||||
*
|
||||
* src/include/parser/parse_merge.h
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
#ifndef PARSE_MERGE_H
|
||||
#define PARSE_MERGE_H
|
||||
|
||||
#include "parser/parse_node.h"
|
||||
extern Query *transformMergeStmt(ParseState *pstate, MergeStmt *stmt);
|
||||
#endif
|
||||
Reference in New Issue
Block a user