Re: Serial Jumping - Mailing list pgsql-general

From A. Kretschmer
Subject Re: Serial Jumping
Date
Msg-id 20090127061018.GA29255@a-kretschmer.de
Whole thread Raw
In response to Serial Jumping  (db.subscriptions@shepherdhill.biz)
List pgsql-general
In response to db.subscriptions@shepherdhill.biz :
> Hi,
>
> I have a table with BIG SERIAL field as Primary KEY. During high load,
> entries in the BIG SERIAL field are jumped. One could see a row with
> 1367 and expecting the next INSERT to be 1368, one would end up
> getting 1369.
>
> Please is this normal?

Yes. Because a serial can't rolled back.



Andreas
--
Andreas Kretschmer
Kontakt:  Heynitz: 035242/47150,   D1: 0160/7141639 (mehr: -> Header)
GnuPG-ID:   0x3FFF606C, privat 0x7F4584DA   http://wwwkeys.de.pgp.net

pgsql-general by date:

Previous
From: Craig Ringer
Date:
Subject: Re: Serial Jumping
Next
From: ITAGAKI Takahiro
Date:
Subject: Re: Installing PostgreSQL on Windows 7 Beta Build 7000 64bit - first results