Re: Get more from indices.

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: Get more from indices.
Дата
Msg-id CA+TgmoYT8uY9YFk1bNVJuSjxH8N+M+unfKVSS4MfzD3w=LbEkQ@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Get more from indices.  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Get more from indices.  (Kyotaro HORIGUCHI <horiguchi.kyotaro@lab.ntt.co.jp>)
Список pgsql-hackers
On Thu, Oct 31, 2013 at 10:59 AM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>  However, if the index is unique, wouldn't
> scanning the index produce data that actually satisfies the longer sort
> key?  It doesn't matter what the values of c,d are if there are no
> duplicates in the a,b columns.  So maybe as a separate patch, we could
> look at claiming that a unique index satisfies the entire query_pathkeys
> if it matches the first N columns of that.

That would be really spiffy.

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company



В списке pgsql-hackers по дате отправления:

Предыдущее
От: "MauMau"
Дата:
Сообщение: Re: [bug fix] PostgreSQL fails to start on Windows if it crashes after tablespace creation
Следующее
От: Teodor Sigaev
Дата:
Сообщение: SP-GiST bug and fix