X-Git-Url: https://granicus.if.org/sourcecode?a=blobdiff_plain;f=src%2Finclude%2Fexecutor%2FnodeLimit.h;h=407d0e3df18ad73117b513f955c35aafb3a9108a;hb=f99a569a2ee3763b4ae174e81250c95ca0fdcbb6;hp=ab9224e1a35a2fe31b00209e06b53c0ca9cdcd63;hpb=6783b2372ef13c141649840a836ff0a954ea1d4d;p=postgresql diff --git a/src/include/executor/nodeLimit.h b/src/include/executor/nodeLimit.h index ab9224e1a3..407d0e3df1 100644 --- a/src/include/executor/nodeLimit.h +++ b/src/include/executor/nodeLimit.h @@ -4,22 +4,22 @@ * * * - * Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group + * Portions Copyright (c) 1996-2006, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $Id: nodeLimit.h,v 1.4 2001/10/28 06:26:06 momjian Exp $ + * $PostgreSQL: pgsql/src/include/executor/nodeLimit.h,v 1.13 2006/03/05 15:58:56 momjian Exp $ * *------------------------------------------------------------------------- */ #ifndef NODELIMIT_H #define NODELIMIT_H -#include "nodes/plannodes.h" +#include "nodes/execnodes.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); +extern LimitState *ExecInitLimit(Limit *node, EState *estate, int eflags); +extern TupleTableSlot *ExecLimit(LimitState *node); +extern void ExecEndLimit(LimitState *node); +extern void ExecReScanLimit(LimitState *node, ExprContext *exprCtxt); -#endif /* NODELIMIT_H */ +#endif /* NODELIMIT_H */