CREATE TABLE initial value for PRIMARY KEY

Поиск
Список
Период
Сортировка
От Maurice Yarrow
Тема CREATE TABLE initial value for PRIMARY KEY
Дата
Msg-id 45425502.9030200@best.com
обсуждение исходный текст
Ответы Re: CREATE TABLE initial value for PRIMARY KEY  ("Dann Corbit" <DCorbit@connx.com>)
Re: CREATE TABLE initial value for PRIMARY KEY  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: CREATE TABLE initial value for PRIMARY KEY  (Richard Broersma Jr <rabroersma@yahoo.com>)
Список pgsql-general
Hello Postgres community

Is there a formal way to set an initial value for a PRIMARY KEY
when CREATE TABLE ?  (This would be some large number,
typically.)

Or is it only possible to do this by first creating the table, and
then inserting a bogus record forcing the initial value by
specification (and then, presumably, deleting this bogus
record)  ?

Maurice Yarrow



В списке pgsql-general по дате отправления:

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: Mailing list problem?
Следующее
От: "Dann Corbit"
Дата:
Сообщение: Re: CREATE TABLE initial value for PRIMARY KEY