From: | Margarita Barvinok <brita(at)math(dot)lsa(dot)umich(dot)edu> |
---|---|
To: | Martin Wong <martin(at)minook(dot)com(dot)sg> |
Cc: | pgsql-general(at)postgreSQL(dot)org |
Subject: | RE: [GENERAL] LIMIT QUESTION |
Date: | 1999-04-29 15:32:22 |
Message-ID: | Pine.SOL.3.96-4hack.990429112937.16660E-100000@sewerurchin.math.lsa.umich.edu |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
This is from the Tutorial for version 6.4 of PostgreSQL.
SET - Set run-time parameters for session
SET variable { TO | = } { 'value' | DEFAULT }
SET TIME ZONE { 'timezone' | LOCAL };
QUERY_LIMIT
Sets the number of rows returned by a query.
Value
Maximum number of rows to return for a query. The default is
to allow an unlimited number of rows.
#
Sets the maximum number of rows returned by a query to #.
DEFAULT
Sets the maximum number of rows returned by a query to be
unlimited.
By default, there is no limit to the number of rows returned by a
query.
On Thu, 29 Apr 1999, Martin Wong wrote:
> Sorry for the previous posting. The following worked.
>
> BTW, this affects just this database or throughout the entire postgresql
> server?
>
> And, how does one reset this variable to max?
>
> Thanks
>
> martin
>
> This works in 6.4.2:
>
> set QUERY_LIMIT TO '10'; or
> set QUERY_LIMIT = '10';
>
From | Date | Subject | |
---|---|---|---|
Next Message | José Soares | 1999-04-29 15:50:28 | Re: [GENERAL] LIMIT QUESTION |
Previous Message | Herouth Maoz | 1999-04-29 15:09:09 | Re: [GENERAL] Any ideas why this doesn't work or how to rewrite it? |