SERIAL parameters

Поиск
Список
Период
Сортировка
От Arnold Putong
Тема SERIAL parameters
Дата
Msg-id 64261.10.33.12.1.1030507385.squirrel@www.engg.upd.edu.ph
обсуждение исходный текст
Ответы Re: SERIAL parameters  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-sql
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^bitwidth
of type).  This is most likely useful in replication/merging data.




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

Предыдущее
От: "mark carew"
Дата:
Сообщение: Re: Problems with version 7.1, could they be fixed in 7.2?
Следующее
От: postmaster@smtp.utk.edu
Дата:
Сообщение: VIRUS IN MAIL FOR YOU FROM