Re: Composed Key and autoincrement

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Composed Key and autoincrement
Дата
Msg-id 29787.1170739419@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Composed Key and autoincrement  (fbn <fbn79@libero.it>)
Список pgsql-novice
fbn <fbn79@libero.it> writes:
> I want to create a table with a primary key composed of 2 auto increment
> (serial) value.

I do not understand why you think that's a good idea.  If you're worried
that 2^32 values isn't enough, use a bigserial.

            regards, tom lane

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: is there more documentation?
Следующее
От: Tom Lane
Дата:
Сообщение: Re: pg_hba.conf, md5 and .pgpass