Re: Add error-checking to timestamp_recv

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Add error-checking to timestamp_recv
Дата
Msg-id 792.1085063538@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Add error-checking to timestamp_recv  (Stephen Frost <sfrost@snowman.net>)
Ответы Re: Add error-checking to timestamp_recv  (Stephen Frost <sfrost@snowman.net>)
Список pgsql-patches
Stephen Frost <sfrost@snowman.net> writes:
> * Bruce Momjian (pgman@candle.pha.pa.us) wrote:
>> Would you show an example of the invalid value this is trying to avoid?

> Well, the way I discovered the problem was by sending a timestamp in
> double format when the server was expecting one in int64 format.

Most of the time, though, this sort of error would still yield a valid
value that just failed to represent the timestamp value you wanted.
I'm unsure that a range check is going to help much.

            regards, tom lane

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

Предыдущее
От: Stephen Frost
Дата:
Сообщение: Re: Add error-checking to timestamp_recv
Следующее
От: Stephen Frost
Дата:
Сообщение: Re: Add error-checking to timestamp_recv