pgsql: Use correct symbol for minimum int64 value

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема pgsql: Use correct symbol for minimum int64 value
Дата
Msg-id E1bOmKm-0001sM-JC@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Use correct symbol for minimum int64 value

The old code used SEQ_MINVALUE to get the smallest int64 value.  This
was done as a convenience to avoid having to deal with INT64_IS_BUSTED,
but that is obsolete now.  Also, it is incorrect because the smallest
int64 value is actually SEQ_MINVALUE-1.  Fix by using PG_INT64_MIN.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/f36ca9af05dd0468cdee28fbdbded690a10ff08b

Modified Files
--------------
contrib/btree_gin/btree_gin.c | 10 ++--------
1 file changed, 2 insertions(+), 8 deletions(-)


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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: pgsql: Use correct symbol for minimum int64 value
Следующее
От: Peter Eisentraut
Дата:
Сообщение: pgsql: doc: Supply XSLT template for superscript element in man pages