Re: [BUGS] 7.4: serial not working ?

2004-07-08 Thread Oliver Elphick
On Fri, 2004-07-02 at 11:24, vertigo wrote: > Hello > i upgraded postgresql from 7.3 to 7.4 and noticed that SERIAL > exists but does not working. Example: > My table: > create table1( > id SERIAL, > name VARCHAR(100) > ); > > insert into table1 (name) values('name1'); > ERROR: duplicate key viol

[BUGS] 7.4: serial not working ?

2004-07-08 Thread vertigo
Hello i upgraded postgresql from 7.3 to 7.4 and noticed that SERIAL exists but does not working. Example: My table: create table1( id SERIAL, name VARCHAR(100) ); insert into table1 (name) values('name1'); ERROR: duplicate key violates unique constraint "table1_pkey" Why ? I want to have autoincre

Re: [BUGS] 7.4: serial not working ?

2004-07-03 Thread Gaetano Mendola
vertigo wrote: Hello i upgraded postgresql from 7.3 to 7.4 and noticed that SERIAL exists but does not working. Example: My table: create table1( id SERIAL, name VARCHAR(100) ); insert into table1 (name) values('name1'); ERROR: duplicate key violates unique constraint "table1_pkey" Why ? I want to