Re: [GENERAL] more-than-one-SERIAL column per table

2001-05-09 Thread Jeff Daugherty
I see no reason why a second SERIAL column would be needed. As in the example for creating tbl_c, when you have a SERIAL as a primary key, the foreign keys that reference it should be int4 not SERIAL. jeff Jeff Daugherty Database Systems Engineer Great Bridge LLC will trillich wrote: > On

[GENERAL] more-than-one-SERIAL column per table

2001-05-09 Thread will trillich
On Sun, May 06, 2001 at 02:59:31AM +0200, Morten Primdahl wrote: > > \d tbl_c_id_seq > > > > if it is not there, you can create it yourself > > Thanks, the sequence was not there. Just puzzled me that > when creating tbl_c, I get: > > test=# CREATE TABLE tbl_c > (id SERIAL PRIMARY KEY, > da