Re: Fix KNN GiST ordering type

Поиск
Список
Период
Сортировка
От Alexander Korotkov
Тема Re: Fix KNN GiST ordering type
Дата
Msg-id CAPpHfdt1NqHp90ctEHkK11qSKMnLTLXM7uFNCGChHh4ruF43pQ@mail.gmail.com
обсуждение исходный текст
Ответ на Fix KNN GiST ordering type  (Alexander Korotkov <a.korotkov@postgrespro.ru>)
Список pgsql-hackers
On Mon, Feb 1, 2016 at 7:31 PM, Alexander Korotkov <a.korotkov@postgrespro.ru> wrote:
KNN GiST detects which type it should return by returning type of ordering operator.
But it appears that type of sk_func is detected after it was replaced with distance function. That is wrong: distance function should always return float8.
I think it is just a typo.

I found this was introduced by this commit.
http://git.postgresql.org/gitweb/?p=postgresql.git;a=commitdiff;h=821b821a2421beaa58225ff000833df69fb962c5;hp=284bef297733e553c73f1c858e0ce1532f754d18

However, commit message doesn't say anything special about this change.

------
Alexander Korotkov
Postgres Professional: http://www.postgrespro.com
The Russian Postgres Company
 

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

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: Freeze avoidance of very large table.
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: get current log file