Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit aa3a1f4

Browse files
committed
New PGQUERY_LIMIT environment variable, and doc changes.
1 parent 8cec4cf commit aa3a1f4

File tree

4 files changed

+22
-3
lines changed

4 files changed

+22
-3
lines changed

doc/src/sgml/libpq++.sgml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,12 @@ sets the default cost for heap searches for the optimizer.
174174
sets the default cost for indexed searches for the optimizer.
175175
</Para>
176176
</ListItem>
177+
<ListItem>
178+
<Para>
179+
<Acronym>PGQUERY_LIMIT</Acronym>
180+
sets the maximum number of rows returned by a query.
181+
</Para>
182+
</ListItem>
177183
</ItemizedList>
178184
</Para>
179185

@@ -581,4 +587,4 @@ be silently truncated.
581587
<para>
582588
The <classname>PGlobj</classname> class is largely untested. Use with caution.
583589

584-
</chapter>
590+
</chapter>

doc/src/sgml/libpq.sgml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1479,6 +1479,12 @@ sets the default cost for heap searches for the optimizer.
14791479
sets the default cost for indexed searches for the optimizer.
14801480
</Para>
14811481
</ListItem>
1482+
<ListItem>
1483+
<Para>
1484+
<Acronym>PGQUERY_LIMIT</Acronym>
1485+
sets the maximum number of rows returned by a query.
1486+
</Para>
1487+
</ListItem>
14821488
</ItemizedList>
14831489
</Para>
14841490

src/interfaces/libpq/fe-connect.c

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/interfaces/libpq/fe-connect.c,v 1.85 1998/10/13 20:44:49 scrappy Exp $
10+
* $Header: /cvsroot/pgsql/src/interfaces/libpq/fe-connect.c,v 1.86 1998/10/14 05:31:48 momjian Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -142,6 +142,9 @@ static struct EnvironmentOptions
142142
{
143143
"PGGEQO", "geqo"
144144
},
145+
{
146+
"PGQUERY_LIMIT", "query_limit"
147+
},
145148
{
146149
NULL
147150
}

src/man/libpq.3

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
.\" This is -*-nroff-*-
22
.\" XXX standard disclaimer belongs here....
3-
.\" $Header: /cvsroot/pgsql/src/man/Attic/libpq.3,v 1.24 1998/08/15 16:36:21 thomas Exp $
3+
.\" $Header: /cvsroot/pgsql/src/man/Attic/libpq.3,v 1.25 1998/10/14 05:31:50 momjian Exp $
44
.TH LIBPQ INTRO 08/08/98 PostgreSQL PostgreSQL
55
.SH DESCRIPTION
66
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.
106106
\(bu
107107
.B PGCOSTINDEX
108108
sets the default cost for indexed searches for the optimizer.
109+
\(bu
110+
.B PGQUERY_LIMIT
111+
sets the maximum number of rows returned by a query.
112+
.sp
109113

110114
.PP
111115
See the

0 commit comments

Comments
 (0)