Re: Fwd: Re: Sequence error ? - Mailing list pgsql-novice

From Tom Lane
Subject Re: Fwd: Re: Sequence error ?
Date
Msg-id 26309.1085511238@sss.pgh.pa.us
Whole thread Raw
In response to Re: Fwd: Re: Sequence error ?  (Gaetano Mendola <mendola@bigfoot.com>)
List 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 by date:

Previous
From: Gaetano Mendola
Date:
Subject: Re: Fwd: Re: Sequence error ?
Next
From: Andrew Hammond
Date:
Subject: Re: New from mssql. Help please