Re: [HACKERS] Surjective functional indexes

Поиск
Список
Период
Сортировка
От Simon Riggs
Тема Re: [HACKERS] Surjective functional indexes
Дата
Msg-id CANP8+jLYoA0O35gVNUd65WMxwm6NaPuVUB8BEiqo+=pqFzV+iA@mail.gmail.com
обсуждение исходный текст
Ответ на Re: [HACKERS] Surjective functional indexes  (Konstantin Knizhnik <k.knizhnik@postgrespro.ru>)
Ответы Re: [HACKERS] Surjective functional indexes
Список pgsql-hackers
On 10 January 2018 at 09:54, Konstantin Knizhnik
<k.knizhnik@postgrespro.ru> wrote:

> (new version attached)

Why this comment?

Current implementation of projection optimization has to calculate
index expression twice
in case of hit (value of index expression is not changed) and three
times if values are different.

Old + New for check = 2
plus calculate again in index = 3
?

-- 
Simon Riggs                http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Add RANGE with values and exclusions clauses to the Window Functions
Следующее
От: Thomas Munro
Дата:
Сообщение: Re: [HACKERS] [PATCH] Lockable views