Commit ea8adfc4 authored by Marc G. Fournier's avatar Marc G. Fournier

Added querylimit patch...

Submitted by:  Massimo Dal Zotto <dz@cs.unitn.it>
parent aceac3a9
...@@ -26,7 +26,7 @@ ...@@ -26,7 +26,7 @@
* *
* *
* IDENTIFICATION * IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/executor/execMain.c,v 1.3 1996/09/10 06:48:01 scrappy Exp $ * $Header: /cvsroot/pgsql/src/backend/executor/execMain.c,v 1.4 1996/09/19 19:57:18 scrappy Exp $
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
...@@ -62,6 +62,18 @@ static void ExecReplace(TupleTableSlot *slot, ItemPointer tupleid, ...@@ -62,6 +62,18 @@ static void ExecReplace(TupleTableSlot *slot, ItemPointer tupleid,
/* end of local decls */ /* end of local decls */
#ifdef QUERY_LIMIT
static int queryLimit = ALL_TUPLES;
#undef ALL_TUPLES
#define ALL_TUPLES queryLimit
int
ExecutorLimit(int limit)
{
return queryLimit = limit;
}
#endif
/* ---------------------------------------------------------------- /* ----------------------------------------------------------------
* ExecutorStart * ExecutorStart
* *
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment