Re: BUG #17302: gist index prevents insertion of some data

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: BUG #17302: gist index prevents insertion of some data
Дата
Msg-id 1999382.1638396843@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: BUG #17302: gist index prevents insertion of some data  (Alexander Korotkov <aekorotkov@gmail.com>)
Ответы Re: BUG #17302: gist index prevents insertion of some data  (Darafei "Komяpa" Praliaskouski <me@komzpa.net>)
Список pgsql-hackers
Alexander Korotkov <aekorotkov@gmail.com> writes:
> I think losing precision in the gist penalty is generally OK.  Thus,
> it shouldn't be a problem to round a very small value as zero.

Check.

> Probably, we could even tolerate overflow in the gist penalty.

As long as overflow -> infinity, yeah I think so.  Seems like it
was a mistake to insert the overflow-testing functions in this code
at all, and we should simplify it down to plain C addition/subtraction/
multiplication.

            regards, tom lane



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

Предыдущее
От: Alexander Korotkov
Дата:
Сообщение: Re: BUG #17302: gist index prevents insertion of some data
Следующее
От: Andres Freund
Дата:
Сообщение: Re: Deprecating the term "super-exclusive lock"