Re: Fix for gistchoose

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: Fix for gistchoose
Дата
Msg-id CA+TgmobtX7Fzz9jB3YfaAQihvW8fGL+YLz0ZfM=48cQxUAAJUg@mail.gmail.com
обсуждение исходный текст
Ответ на Fix for gistchoose  (Alexander Korotkov <aekorotkov@gmail.com>)
Ответы Re: Fix for gistchoose
Re: Fix for gistchoose
Список pgsql-hackers
On Mon, Aug 20, 2012 at 12:57 PM, Alexander Korotkov
<aekorotkov@gmail.com> wrote:
> I found that code of gistchoose doesn't follow it's logic. Idea of
> gistchoose is that first column penalty is more important than penalty of
> second column. If we meet same penalty values of first column then we choose
> minimal penalty value of second column among them.

Nice catch.  Thanks for the patch, which I have now committed.  But
since these functions were very short on useful comments, I added
some.  Hopefully they're even right, but let me know if you think
otherwise, or have any ideas for further improvement.

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



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

Предыдущее
От: Joe Abbate
Дата:
Сообщение: Re: pg_operator.oprcode in 9.2rc1
Следующее
От: Robert Haas
Дата:
Сообщение: Re: Don't allow relative path for copy from file