Re: [SQL] INT8 sequences

2001-05-09 Thread Richard Huxton
Radius Administrator wrote: > > Is it true that PostgreSQL sequences are always INT4? If so, how Yep > would the following be modified to work as obviously intended? > > CREATE SEQUENCE tbl_id INCREMENT 1 START 1; > CREATE TABLE tbl > ( > id INT8 DEFAULT NEXTVAL('tbl_id')

[SQL] INT8 sequences

2001-05-08 Thread Radius Administrator
Is it true that PostgreSQL sequences are always INT4? If so, how would the following be modified to work as obviously intended? CREATE SEQUENCE tbl_id INCREMENT 1 START 1; CREATE TABLE tbl ( id INT8 DEFAULT NEXTVAL('tbl_id') PRIMARY KEY ); Thanks. Lyle Frost Citadel Networ