Maurice Yarrow <yarrow(at)best(dot)com> writes:
> Is there a formal way to set an initial value for a PRIMARY KEY
> when CREATE TABLE ?
If it's a SERIAL column, you use setval() on the underlying sequence
before you start inserting data.
regards, tom lane