Re: Strange interval arithmetic

Поиск
Список
Период
Сортировка
От Michael Fuhr
Тема Re: Strange interval arithmetic
Дата
Msg-id 20051130225742.GA27631@winnie.fuhr.org
обсуждение исходный текст
Ответ на Re: Strange interval arithmetic  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Strange interval arithmetic  (Michael Fuhr <mike@fuhr.org>)
Список pgsql-hackers
On Wed, Nov 30, 2005 at 05:49:53PM -0500, Tom Lane wrote:
> The SUS saith
> http://www.opengroup.org/onlinepubs/007908799/xsh/strtol.html
> 
>     The strtol() function will not change the setting of errno if
>     successful.
> 
> Perhaps more to the point, we've been doing it that way (errno test
> only) for many years without complaints.  Adding a test on the return
> value is venturing into less charted waters.

Good, I'll stick with just the ERANGE check then.

-- 
Michael Fuhr


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

Предыдущее
От: Michael Fuhr
Дата:
Сообщение: Re: Strange interval arithmetic
Следующее
От: Andrew Dunstan
Дата:
Сообщение: Re: Strange interval arithmetic