Re: Get more from indices.

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Get more from indices.
Дата
Msg-id 32033.1388523694@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Get more from indices.  ("Etsuro Fujita" <fujita.etsuro@lab.ntt.co.jp>)
Ответы Re: Get more from indices.  ("Etsuro Fujita" <fujita.etsuro@lab.ntt.co.jp>)
Список pgsql-hackers
"Etsuro Fujita" <fujita.etsuro@lab.ntt.co.jp> writes:
> [ pathkey_and_uniqueindx_v7_20131203.patch ]

I started to look at this patch.  I don't understand the reason for the
foreach loop in index_pathkeys_are_extensible (and the complete lack of
comments in the patch isn't helping).  Isn't it sufficient to check that
the index is unique/immediate/allnotnull and its ordering is a prefix
of query_pathkeys?  If not, what's the rationale for the specific tests
being made on the pathkeys --- this code doesn't make much sense to me.
        regards, tom lane



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: proposal: persistent plpgsql plugin info - field plugin_info for plpgsql_function structure
Следующее
От: Mark Dilger
Дата:
Сообщение: Re: proposal: multiple read-write masters in a cluster with wal-streaming synchronization