Re: Fwd: Re: Sequence error ?

From: Gaetano Mendola <mendola(at)bigfoot(dot)com>
To: Aarni Ruuhimäki <aarni(dot)ruuhimaki(at)kymi(dot)com>
Subject: Re: Fwd: Re: Sequence error ?
Date: 2004-05-25 17:39:10
Message-ID: 40B384BE.3010207@bigfoot.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

Aarni Ruuhimäki wrote:

> Hi,
>
> And thanks for the tip Tom.
>
> 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: ""

test=# alter table test alter column b set default '' ;
ERROR: invalid input syntax for integer: ""

Regards
Gaetano Mendola

In response to

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message Tom Lane 2004-05-25 18:53:58 Re: Fwd: Re: Sequence error ?
Previous Message Aarni Ruuhimäki 2004-05-25 15:57:47 Fwd: Re: Sequence error ?