Re: use of SEQ_MINVALUE in btree_gin

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: use of SEQ_MINVALUE in btree_gin
Дата
Msg-id 25383.1468340798@sss.pgh.pa.us
обсуждение исходный текст
Ответ на use of SEQ_MINVALUE in btree_gin  (Peter Eisentraut <peter.eisentraut@2ndquadrant.com>)
Список pgsql-hackers
Peter Eisentraut <peter.eisentraut@2ndquadrant.com> writes:
> btree_gin uses SEQ_MINVALUE as a way to get the smallest int64 value.
> This is actually wrong because the smallest int64 value is
> SEQ_MINVALUE-1, so this might be slightly broken.

> The whole thing was done as a convenience when INT64_IS_BUSTED had to be
> considered, but I think we can get rid of that now.  See attached
> proposed patch.

+1.  I agree that this is actually a bug fix, so it should be back-patched.
        regards, tom lane



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Showing parallel status in \df+
Следующее
От: Tom Lane
Дата:
Сообщение: Re: GiST index build versus NaN coordinates