Re: Strange interval arithmetic

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Strange interval arithmetic
Дата
Msg-id 29240.1133372260@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Strange interval arithmetic  (Michael Fuhr <mike@fuhr.org>)
Ответы Re: Strange interval arithmetic  (Michael Fuhr <mike@fuhr.org>)
Список pgsql-hackers
Michael Fuhr <mike@fuhr.org> writes:
>> I see this behavior back to at least 7.3.  I'd guess it's because
>> strtol() indicates overflow by returning LONG_MAX and setting errno
>> to ERANGE, but the code doesn't check for that.

> Is this worth looking at for the upcoming dot releases?

Sure, send a patch ...
        regards, tom lane


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

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