Re: Auto Increment

Поиск
Список
Период
Сортировка
От Brett W. McCoy
Тема Re: Auto Increment
Дата
Msg-id Pine.LNX.4.30.0012262052360.16141-100000@chapelperilous.net
обсуждение исходный текст
Ответ на Auto Increment  (<postgres@flipper.webdevelop.net>)
Ответы Re: Auto Increment  (Bruce Momjian <pgman@candle.pha.pa.us>)
Re: Auto Increment  (<postgres@flipper.webdevelop.net>)
Список pgsql-general
On Tue, 26 Dec 2000 postgres@flipper.webdevelop.net wrote:

>     Is there a way set a primary key to Auto Increment like you can
> with MySQL?

See the documentation on CREATE SEQUENCE, and also on CREATE TABLE and the
SERIAL type.

[An aside:  this is something definitely that qualifies as a frequently
asked question, as this is like the 4th time in a week this question has
been asked.  Would posting a FAQ list on a regular basis to the list be
helpful for things like this, like is done on the Perl newsgroups?]

-- Brett
                                     http://www.chapelperilous.net/~bmccoy/
---------------------------------------------------------------------------
Hanson's Treatment of Time:
    There are never enough hours in a day, but always too many days
    before Saturday.


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

Предыдущее
От: "Oliver Elphick"
Дата:
Сообщение: Re: Auto Increment
Следующее
От: Anand Raman
Дата:
Сообщение: Re: Tuning Database