blob: d39e950b29e204f62018cc354f5ad2ca32032458 [file] [log] [blame]
/*-------------------------------------------------------------------------
*
* nodeSetOp.h
*
*
*
* Portions Copyright (c) 1996-2008, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
* $PostgreSQL: pgsql/src/include/executor/nodeSetOp.h,v 1.13 2006/03/05 15:58:56 momjian Exp $
*
*-------------------------------------------------------------------------
*/
#ifndef NODESETOP_H
#define NODESETOP_H
#include "nodes/execnodes.h"
extern int ExecCountSlotsSetOp(SetOp *node);
extern SetOpState *ExecInitSetOp(SetOp *node, EState *estate, int eflags);
extern TupleTableSlot *ExecSetOp(SetOpState *node);
extern void ExecEndSetOp(SetOpState *node);
extern void ExecReScanSetOp(SetOpState *node, ExprContext *exprCtxt);
enum {
GPMON_SETOP_TOTAL = GPMON_QEXEC_M_NODE_START,
};
static inline gpmon_packet_t * GpmonPktFromSetOpState(SetOpState *node)
{
return &node->ps.gpmon_pkt;
}
#endif /* NODESETOP_H */