2000-10-26 17:38:24 -04:00
|
|
|
/*-------------------------------------------------------------------------
|
|
|
|
|
*
|
|
|
|
|
* nodeLimit.h
|
|
|
|
|
*
|
|
|
|
|
*
|
|
|
|
|
*
|
2004-12-31 17:04:05 -05:00
|
|
|
* Portions Copyright (c) 1996-2005, PostgreSQL Global Development Group
|
2000-10-26 17:38:24 -04:00
|
|
|
* Portions Copyright (c) 1994, Regents of the University of California
|
|
|
|
|
*
|
2004-12-31 17:04:05 -05:00
|
|
|
* $PostgreSQL: pgsql/src/include/executor/nodeLimit.h,v 1.11 2004/12/31 22:03:29 pgsql Exp $
|
2000-10-26 17:38:24 -04:00
|
|
|
*
|
|
|
|
|
*-------------------------------------------------------------------------
|
|
|
|
|
*/
|
|
|
|
|
#ifndef NODELIMIT_H
|
|
|
|
|
#define NODELIMIT_H
|
|
|
|
|
|
2002-12-05 10:50:39 -05:00
|
|
|
#include "nodes/execnodes.h"
|
2000-10-26 17:38:24 -04:00
|
|
|
|
|
|
|
|
extern int ExecCountSlotsLimit(Limit *node);
|
2002-12-05 10:50:39 -05:00
|
|
|
extern LimitState *ExecInitLimit(Limit *node, EState *estate);
|
|
|
|
|
extern TupleTableSlot *ExecLimit(LimitState *node);
|
|
|
|
|
extern void ExecEndLimit(LimitState *node);
|
|
|
|
|
extern void ExecReScanLimit(LimitState *node, ExprContext *exprCtxt);
|
2001-10-28 01:26:15 -05:00
|
|
|
|
2001-11-05 12:46:40 -05:00
|
|
|
#endif /* NODELIMIT_H */
|