Re: txid strtoull fix

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: txid strtoull fix
Дата
Msg-id 29587.1191875249@sss.pgh.pa.us
обсуждение исходный текст
Ответ на txid strtoull fix  ("Marko Kreen" <markokr@gmail.com>)
Ответы Re: txid strtoull fix  ("Marko Kreen" <markokr@gmail.com>)
Список pgsql-patches
"Marko Kreen" <markokr@gmail.com> writes:
> I noticed strtoull() causes problems on some buildfarm
> machines.  As a fix I propose small str2num function inside
> txid.c itself.  Main reason is that the txid actually does
> not need fully-featured strtoull (radixes, whitespace skipping).

Seems like a sane solution to me --- applied.

(Note that your overflow test didn't actually work; AFAIK there
really isn't any decent solution other than dividing at each step.)

            regards, tom lane

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

Предыдущее
От: "Marko Kreen"
Дата:
Сообщение: txid strtoull fix
Следующее
От: "Marko Kreen"
Дата:
Сообщение: Re: txid strtoull fix