Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-novice by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group