Re: Strange interval arithmetic

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Strange interval arithmetic
Дата
Msg-id 1678.1133389403@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Strange interval arithmetic  (Michael Fuhr <mike@fuhr.org>)
Ответы Re: Strange interval arithmetic  (Michael Fuhr <mike@fuhr.org>)
Re: Strange interval arithmetic  (Greg Stark <gsstark@mit.edu>)
Re: Strange interval arithmetic  (Greg Stark <gsstark@mit.edu>)
Список pgsql-hackers
Michael Fuhr <mike@fuhr.org> writes:
> I usually check both in my own code but I noticed several places
> where PostgreSQL doesn't, so I kept that style.  I'll check both
> if that's preferred.

I'd say not --- it's more code and it makes a possibly unwarranted
assumption about strtol's behavior.
        regards, tom lane


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

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