X-Git-Url: https://granicus.if.org/sourcecode?a=blobdiff_plain;f=src%2Finclude%2Fexecutor%2FnodeUnique.h;h=9e3670d56147b4f95d3670fd42aca5f02478d257;hb=f99a569a2ee3763b4ae174e81250c95ca0fdcbb6;hp=61ab85828cfe3fe8f38cc1519298ed3c96743419;hpb=59f6a57e59fe8353f9edaa3703516ea67e06672b;p=postgresql diff --git a/src/include/executor/nodeUnique.h b/src/include/executor/nodeUnique.h index 61ab85828c..9e3670d561 100644 --- a/src/include/executor/nodeUnique.h +++ b/src/include/executor/nodeUnique.h @@ -1,21 +1,25 @@ /*------------------------------------------------------------------------- * - * nodeUnique.h-- + * nodeUnique.h * * * - * Copyright (c) 1994, Regents of the University of California + * Portions Copyright (c) 1996-2006, PostgreSQL Global Development Group + * Portions Copyright (c) 1994, Regents of the University of California * - * $Id: nodeUnique.h,v 1.4 1997/09/08 21:52:14 momjian Exp $ + * $PostgreSQL: pgsql/src/include/executor/nodeUnique.h,v 1.22 2006/03/05 15:58:56 momjian Exp $ * *------------------------------------------------------------------------- */ #ifndef NODEUNIQUE_H #define NODEUNIQUE_H -extern TupleTableSlot *ExecUnique(Unique *node); -extern bool ExecInitUnique(Unique *node, EState *estate, Plan *parent); +#include "nodes/execnodes.h" + extern int ExecCountSlotsUnique(Unique *node); -extern void ExecEndUnique(Unique *node); +extern UniqueState *ExecInitUnique(Unique *node, EState *estate, int eflags); +extern TupleTableSlot *ExecUnique(UniqueState *node); +extern void ExecEndUnique(UniqueState *node); +extern void ExecReScanUnique(UniqueState *node, ExprContext *exprCtxt); -#endif /* NODEUNIQUE_H */ +#endif /* NODEUNIQUE_H */