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.
Andrew Sullivan | ajs(at)crankycanuck(dot)ca
The fact that technology doesn't work is no bar to success in the marketplace.
In response to
pgsql-sql by date
|Next:||From: Franco Bruno Borghesi||Date: 2006-05-24 13:04:20|
|Subject: Re: PLEASE help ME , HOW TO GENERATE PRIMARY Keys on the fly|
|Previous:||From: andi||Date: 2006-05-24 10:35:10|
|Subject: PLEASE help ME , HOW TO GENERATE PRIMARY Keys on the fly|