summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBruce Momjian1998-10-14 05:31:50 +0000
committerBruce Momjian1998-10-14 05:31:50 +0000
commitaa3a1f46dfab92aa3205f0c6cbf2697d9ac95adc (patch)
treeaab7d675c1065e2efc2c56137d03ebc6525bb184 /src
parent8cec4cf91b844e8ff3e19a444ddfa750ea4dba11 (diff)
New PGQUERY_LIMIT environment variable, and doc changes.
Diffstat (limited to 'src')
-rw-r--r--src/interfaces/libpq/fe-connect.c5
-rw-r--r--src/man/libpq.36
2 files changed, 9 insertions, 2 deletions
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 $
*
*-------------------------------------------------------------------------
*/
@@ -143,6 +143,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