Re: Two Index Questions - Mailing list pgsql-sql

From Tom Lane
Subject Re: Two Index Questions
Date
Msg-id 14069.1027101225@sss.pgh.pa.us
Whole thread Raw
In response to Re: Two Index Questions  (Josh Berkus <josh@agliodbs.com>)
List pgsql-sql
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


pgsql-sql by date:

Previous
From: Bruno Wolff III
Date:
Subject: Re: Two Index Questions
Next
From: Josh Berkus
Date:
Subject: Re: Two Index Questions