From: jwieck@debis.com
To: maillist@remo.demon.co.uk
Cc: oleg@sai.msu.su
Cc: pgsql-sql@postgreSQL.org
Subject: Re: [SQL] setting select limit?
Date: Thu, 11 Feb 1999 13:21:41 +0100 (MET)
Message-ID: <m10Av7m-000EBRC@orion.SAPserv.Hamburg.dsh.de> (raw)
In-Reply-To: <000901be55a8$1bea7710$c6cb9284@towhee.gssec.bt.co.uk>
>
> Hi,
>
> > You need v6.4.2-feature-patch which implement LIMIT option:
>
> Or alternatively if you can't or don't want to apply a patch, have a look at
> the
>
> SET QUERY_LIMIT TO x
>
> in Postgres 6.4
It is commented out by default (#ifdef QUERY_LIMIT) and I
recommend NOT to enable it.
The implementation of SET QUERY_LIMIT hat unwanted side
effects. If during the execution of such a query functions or
triggers get invoked, the query limit also affects the
execution of their queries. That could damage triggers or
give unpredictable results on functions.
I'll ensure that the SET QUERY_LIMIT code will be removed in
v6.5.
Jan
--
#======================================================================#
# It's easier to get forgiveness for being wrong than for being right. #
# Let's break this rule - forgive me. #
#======================================== jwieck@debis.com (Jan Wieck) #
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-sql@postgresql.org
Cc: jwieck@debis.com, maillist@remo.demon.co.uk, oleg@sai.msu.su
Subject: Re: [SQL] setting select limit?
In-Reply-To: <m10Av7m-000EBRC@orion.SAPserv.Hamburg.dsh.de>
References: <000901be55a8$1bea7710$c6cb9284@towhee.gssec.bt.co.uk> <m10Av7m-000EBRC@orion.SAPserv.Hamburg.dsh.de>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox