2000-10-26 17:38:24 -04:00
|
|
|
/*-------------------------------------------------------------------------
|
|
|
|
|
*
|
|
|
|
|
* nodeLimit.h
|
|
|
|
|
*
|
|
|
|
|
*
|
|
|
|
|
*
|
2002-06-20 16:29:54 -04:00
|
|
|
* Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group
|
2000-10-26 17:38:24 -04:00
|
|
|
* Portions Copyright (c) 1994, Regents of the University of California
|
|
|
|
|
*
|
2002-06-20 16:29:54 -04:00
|
|
|
* $Id: nodeLimit.h,v 1.6 2002/06/20 20:29:49 momjian Exp $
|
2000-10-26 17:38:24 -04:00
|
|
|
*
|
|
|
|
|
*-------------------------------------------------------------------------
|
|
|
|
|
*/
|
|
|
|
|
#ifndef NODELIMIT_H
|
|
|
|
|
#define NODELIMIT_H
|
|
|
|
|
|
|
|
|
|
#include "nodes/plannodes.h"
|
|
|
|
|
|
|
|
|
|
extern TupleTableSlot *ExecLimit(Limit *node);
|
|
|
|
|
extern bool ExecInitLimit(Limit *node, EState *estate, Plan *parent);
|
|
|
|
|
extern int ExecCountSlotsLimit(Limit *node);
|
|
|
|
|
extern void ExecEndLimit(Limit *node);
|
|
|
|
|
extern void ExecReScanLimit(Limit *node, ExprContext *exprCtxt, Plan *parent);
|
2001-10-28 01:26:15 -05:00
|
|
|
|
2001-11-05 12:46:40 -05:00
|
|
|
#endif /* NODELIMIT_H */
|