From: Tom Lane <tgl@sss.pgh.pa.us>
To: josh@agliodbs.com
Cc: Bruno Wolff III <bruno@wolff.to>
Cc: pgsql-sql@postgresql.org
Subject: Re: Two Index Questions
Date: Fri, 19 Jul 2002 13:53:45 -0400
Message-ID: <14069.1027101225@sss.pgh.pa.us> (raw)
In-Reply-To: <200207191028.18547.josh@agliodbs.com>
References: <200207190933.59283.josh@agliodbs.com>
<20020719170000.GB13657@wolff.to>
<200207191028.18547.josh@agliodbs.com>
Josh Berkus <josh@agliodbs.com> writes:
> I generally try to avoid using LIMIT, as it is a non-SQL92 extension.
Fair enough ...
> Also,
> LIMIT in subqueries might someday be disallowed as it interferes with the
> fundmentally unordered nature of subqueries.
I don't think so; we went out of our way to make it work, so we're
unlikely to discard the feature. It's true that it does prevent some
optimizations that might otherwise occur, but not using it is a
sufficient answer to that.
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 using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: tgl@sss.pgh.pa.us, josh@agliodbs.com, bruno@wolff.to
Subject: Re: Two Index Questions
In-Reply-To: <14069.1027101225@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