2000-10-26 23:38:24 +02:00
|
|
|
/*-------------------------------------------------------------------------
|
|
|
|
*
|
|
|
|
* nodeLimit.h
|
|
|
|
*
|
|
|
|
*
|
|
|
|
*
|
2009-01-01 18:24:05 +01:00
|
|
|
* Portions Copyright (c) 1996-2009, PostgreSQL Global Development Group
|
2000-10-26 23:38:24 +02:00
|
|
|
* Portions Copyright (c) 1994, Regents of the University of California
|
|
|
|
*
|
2009-09-27 23:10:53 +02:00
|
|
|
* $PostgreSQL: pgsql/src/include/executor/nodeLimit.h,v 1.17 2009/09/27 21:10:53 tgl Exp $
|
2000-10-26 23:38:24 +02:00
|
|
|
*
|
|
|
|
*-------------------------------------------------------------------------
|
|
|
|
*/
|
|
|
|
#ifndef NODELIMIT_H
|
|
|
|
#define NODELIMIT_H
|
|
|
|
|
2002-12-05 16:50:39 +01:00
|
|
|
#include "nodes/execnodes.h"
|
2000-10-26 23:38:24 +02:00
|
|
|
|
2006-02-28 05:10:28 +01:00
|
|
|
extern LimitState *ExecInitLimit(Limit *node, EState *estate, int eflags);
|
2002-12-05 16:50:39 +01:00
|
|
|
extern TupleTableSlot *ExecLimit(LimitState *node);
|
|
|
|
extern void ExecEndLimit(LimitState *node);
|
|
|
|
extern void ExecReScanLimit(LimitState *node, ExprContext *exprCtxt);
|
2001-10-28 07:26:15 +01:00
|
|
|
|
2001-11-05 18:46:40 +01:00
|
|
|
#endif /* NODELIMIT_H */
|