Re: PLEASE help ME , HOW TO GENERATE PRIMARY Keys on the fly

Поиск
Список
Период
Сортировка
От Andrew Sullivan
Тема Re: PLEASE help ME , HOW TO GENERATE PRIMARY Keys on the fly
Дата
Msg-id 20060524112717.GC31756@phlogiston.dyndns.org
обсуждение исходный текст
Ответ на PLEASE help ME , HOW TO GENERATE PRIMARY Keys on the fly  ("andi" <andi@mobile-elab.com>)
Список pgsql-sql
On Wed, May 24, 2006 at 05:35:10PM +0700, andi wrote:
> 
> But my primary key is not in correct order like

What does this mean?  Is the key being generated by a sequence (i.e.
is the column DEFAULT nextval('some_sequence'))?  If so, the primary
key will be assigned in COMMIT order.  Note that the sequence does
not guarantee no gaps, however.

A

-- 
Andrew Sullivan  | ajs@crankycanuck.ca
The fact that technology doesn't work is no bar to success in the marketplace.    --Philip Greenspun


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

Предыдущее
От: "andi"
Дата:
Сообщение: PLEASE help ME , HOW TO GENERATE PRIMARY Keys on the fly
Следующее
От: "Franco Bruno Borghesi"
Дата:
Сообщение: Re: PLEASE help ME , HOW TO GENERATE PRIMARY Keys on the fly