Re: pg_atoi: zero length string

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: pg_atoi: zero length string
Дата
Msg-id 12778.1038182386@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: pg_atoi: zero length string  ("Christopher Kings-Lynne" <chriskl@familyhealth.com.au>)
Список pgsql-hackers
"Christopher Kings-Lynne" <chriskl@familyhealth.com.au> writes:
> It is in the release notes.  I'm not sure why the behaviour was changed
> (other than it really is bad behaviour).

I think someone exhibited a case where COPY behavior was really
confusing because it was silently accepting an empty string for an int
field, instead of giving an error.  Since the behavior seemed obviously
bogus anyway, we were finally motivated to change it.
        regards, tom lane


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

Предыдущее
От: "Marc G. Fournier"
Дата:
Сообщение: Re: 7.3RC2 please
Следующее
От: Bruce Momjian
Дата:
Сообщение: patch testing