1
0
mirror of https://github.com/postgres/postgres.git synced 2025-06-27 23:21:58 +03:00

New QUERY_LIMIT set command.

This commit is contained in:
Bruce Momjian
1998-10-14 05:10:12 +00:00
parent 39f2ec55d7
commit 8cec4cf91b
6 changed files with 161 additions and 18 deletions

View File

@ -26,7 +26,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/executor/execMain.c,v 1.57 1998/10/01 02:03:58 tgl Exp $
* $Header: /cvsroot/pgsql/src/backend/executor/execMain.c,v 1.58 1998/10/14 05:10:00 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@ -83,14 +83,18 @@ static int queryLimit = ALL_TUPLES;
#undef ALL_TUPLES
#define ALL_TUPLES queryLimit
int ExecutorLimit(int limit);
int
ExecutorLimit(int limit)
{
return queryLimit = limit;
}
int
ExecutorGetLimit()
{
return queryLimit;
}
#endif
/* ----------------------------------------------------------------