Re: Fwd: Re: Sequence error ?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Fwd: Re: Sequence error ?
Дата
Msg-id 26309.1085511238@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Fwd: Re: Sequence error ?  (Gaetano Mendola <mendola@bigfoot.com>)
Список pgsql-novice
Gaetano Mendola <mendola@bigfoot.com> writes:
> Aarni Ruuhim�ki wrote:
>> There was a slight contradiction in this:
>> "country" integer DEFAULT '' NOT NULL,

> How was possible for you create that table ?

> on 7.4.1 I get:

> test=# create table test ( b integer, a integer default '' not null );
> ERROR:  invalid input syntax for integer: ""

Yeah, but before 7.3 pg_atoi would have silently accepted '' as meaning
zero.  So the problem wouldn't show up until Aarni updated ...

            regards, tom lane

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

Предыдущее
От: Gaetano Mendola
Дата:
Сообщение: Re: Fwd: Re: Sequence error ?
Следующее
От: Andrew Hammond
Дата:
Сообщение: Re: New from mssql. Help please