Re: Two Index Questions

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Two Index Questions
Дата
Msg-id 14069.1027101225@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Two Index Questions  (Josh Berkus <josh@agliodbs.com>)
Список 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 по дате отправления:

Предыдущее
От: Bruno Wolff III
Дата:
Сообщение: Re: Two Index Questions
Следующее
От: Josh Berkus
Дата:
Сообщение: Re: Two Index Questions