Re: When is int32 not an int32?

Поиск
Список
Период
Сортировка
От David E. Wheeler
Тема Re: When is int32 not an int32?
Дата
Msg-id 624262B9-9026-466C-8DBC-3F4CF673A973@justatheory.com
обсуждение исходный текст
Ответ на Re: When is int32 not an int32?  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On Sep 26, 2021, at 19:25, Tom Lane <tgl@sss.pgh.pa.us> wrote:

> More to the point, you should be checking whether strtol reports overflow.
> Having now seen your code, I'll opine that the failing platforms have
> 32-bit long.

Thanks for the pointer, Tom. I believe this fixes that particular issue.

  https://github.com/theory/pg-semver/commit/4d79dcc

Best,

David


Вложения

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

Предыдущее
От: A Z
Дата:
Сообщение: PostgreSQL High Precision Mathematics Extension.
Следующее
От: Kyotaro Horiguchi
Дата:
Сообщение: Re: Improve logging when using Huge Pages