mirror of
https://github.com/postgres/postgres.git
synced 2025-08-27 07:42:10 +03:00
Add support for multi-row VALUES clauses as part of INSERT statements
(e.g. "INSERT ... VALUES (...), (...), ...") and elsewhere as allowed by the spec. (e.g. similar to a FROM clause subselect). initdb required. Joe Conway and Tom Lane.
This commit is contained in:
27
src/include/executor/nodeValuesscan.h
Normal file
27
src/include/executor/nodeValuesscan.h
Normal file
@@ -0,0 +1,27 @@
|
||||
/*-------------------------------------------------------------------------
|
||||
*
|
||||
* nodeValuesscan.h
|
||||
*
|
||||
*
|
||||
*
|
||||
* Portions Copyright (c) 1996-2006, PostgreSQL Global Development Group
|
||||
* Portions Copyright (c) 1994, Regents of the University of California
|
||||
*
|
||||
* $PostgreSQL: pgsql/src/include/executor/nodeValuesscan.h,v 1.1 2006/08/02 01:59:47 joe Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
#ifndef NODEVALUESSCAN_H
|
||||
#define NODEVALUESSCAN_H
|
||||
|
||||
#include "nodes/execnodes.h"
|
||||
|
||||
extern int ExecCountSlotsValuesScan(ValuesScan *node);
|
||||
extern ValuesScanState *ExecInitValuesScan(ValuesScan *node, EState *estate, int eflags);
|
||||
extern TupleTableSlot *ExecValuesScan(ValuesScanState *node);
|
||||
extern void ExecEndValuesScan(ValuesScanState *node);
|
||||
extern void ExecValuesMarkPos(ValuesScanState *node);
|
||||
extern void ExecValuesRestrPos(ValuesScanState *node);
|
||||
extern void ExecValuesReScan(ValuesScanState *node, ExprContext *exprCtxt);
|
||||
|
||||
#endif /* NODEVALUESSCAN_H */
|
Reference in New Issue
Block a user