From aa3a1f46dfab92aa3205f0c6cbf2697d9ac95adc Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Wed, 14 Oct 1998 05:31:50 +0000 Subject: New PGQUERY_LIMIT environment variable, and doc changes. --- src/interfaces/libpq/fe-connect.c | 5 ++++- src/man/libpq.3 | 6 +++++- 2 files changed, 9 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/interfaces/libpq/fe-connect.c b/src/interfaces/libpq/fe-connect.c index 998ced9876b..9e5b76bab5d 100644 --- a/src/interfaces/libpq/fe-connect.c +++ b/src/interfaces/libpq/fe-connect.c @@ -7,7 +7,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/interfaces/libpq/fe-connect.c,v 1.85 1998/10/13 20:44:49 scrappy Exp $ + * $Header: /cvsroot/pgsql/src/interfaces/libpq/fe-connect.c,v 1.86 1998/10/14 05:31:48 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -142,6 +142,9 @@ static struct EnvironmentOptions { "PGGEQO", "geqo" }, + { + "PGQUERY_LIMIT", "query_limit" + }, { NULL } diff --git a/src/man/libpq.3 b/src/man/libpq.3 index d52021a6918..fe9720322d6 100644 --- a/src/man/libpq.3 +++ b/src/man/libpq.3 @@ -1,6 +1,6 @@ .\" This is -*-nroff-*- .\" XXX standard disclaimer belongs here.... -.\" $Header: /cvsroot/pgsql/src/man/Attic/libpq.3,v 1.24 1998/08/15 16:36:21 thomas Exp $ +.\" $Header: /cvsroot/pgsql/src/man/Attic/libpq.3,v 1.25 1998/10/14 05:31:50 momjian Exp $ .TH LIBPQ INTRO 08/08/98 PostgreSQL PostgreSQL .SH DESCRIPTION Current documentation for this topic is available in the new Programmer's Guide @@ -106,6 +106,10 @@ sets the default cost for heap searches for the optimizer. \(bu .B PGCOSTINDEX sets the default cost for indexed searches for the optimizer. +\(bu +.B PGQUERY_LIMIT +sets the maximum number of rows returned by a query. +.sp .PP See the -- cgit v1.2.3