Re: [SQL] SERIAL parameters

2002-08-28 Thread Bruce Momjian
You can create the sequence manually and define that a the default for the column. I suppose we could pass the create sequence params through SERIAL but there doesn't seem like there is much demand for it. --- Arnold Puton

[SQL] SERIAL parameters

2002-08-28 Thread Arnold Putong
Would it be possible to have parameters in the SERIAL datatype? CREATE TABLE x { ID SERIAL(100, 10) } means ID starts at 100 and will be incremented by 10. And it would be nice to have CREATE TABLE x { ID SERIAL(0,0) } mean that ID will be issued random non-repeating values (period=2^bitwid