Re: [HACKERS] Strange interval arithmetic

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [HACKERS] Strange interval arithmetic
Дата
Msg-id 16909.1133470176@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: [HACKERS] Strange interval arithmetic  (Bruce Momjian <pgman@candle.pha.pa.us>)
Ответы Re: [HACKERS] Strange interval arithmetic  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-patches
Bruce Momjian <pgman@candle.pha.pa.us> writes:
> Here is the patch I was working on.  It does us a separate libpq
> strtol() function, but I question whether it is worth it, or if it is
> meaningful when used by FRONTEND applications.  Anyway, I am just
> throwing it out if it gives others ideas.

I did look through all the other calls to strtol/strtoul, and concluded
that the ones in datetime.c were the only undefended ones that really
needed a check.

            regards, tom lane

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

Предыдущее
От: "Magnus Hagander"
Дата:
Сообщение: Re: Check for integer overflow in datetime functions
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: [HACKERS] Strange interval arithmetic