From: Tom Lane <tgl@sss.pgh.pa.us>
To: Najm Hashmi <najm@mondo-live.com>
Cc: pgsql <pgsql-sql@postgresql.org>
Subject: Re: Controlling Reuslts with Limit
Date: Fri, 23 Feb 2001 16:39:27 -0500
Message-ID: <654.982964367@sss.pgh.pa.us> (raw)
In-Reply-To: <3A9822F2.FF9437C9@mondo-live.com>
References: <3A9822F2.FF9437C9@mondo-live.com>
Najm Hashmi <najm@mondo-live.com> writes:
> I just want to know what exatly --"LIMIT without ORDER BY returns random rows
> from the query" --means
It means the results aren't guaranteed. It doesn't mean that the exact
same query run under the exact same conditions by the exact same version
of Postgres won't return the same results every time. Especially not
one that's too simple to have more than one possible execution plan...
regards, tom lane
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: tgl@sss.pgh.pa.us, najm@mondo-live.com
Subject: Re: Controlling Reuslts with Limit
In-Reply-To: <654.982964367@sss.pgh.pa.us>
References: <3A9822F2.FF9437C9@mondo-live.com> <654.982964367@sss.pgh.pa.us>
* 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