use of SEQ_MINVALUE in btree_gin

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема use of SEQ_MINVALUE in btree_gin
Дата
Msg-id 9ec6dce7-fbdd-98d7-85f8-0c18183b82c9@2ndquadrant.com
обсуждение исходный текст
Ответы Re: use of SEQ_MINVALUE in btree_gin  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
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.

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

Вложения

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

Предыдущее
От: Craig Ringer
Дата:
Сообщение: Re: remove checkpoint_warning
Следующее
От: Kyotaro HORIGUCHI
Дата:
Сообщение: Re: asynchronous and vectorized execution