Sequence Roll Over

From: Mat <psql-mail(at)freeuk(dot)com>
To: pgsql general list <pgsql-general(at)postgresql(dot)org>
Subject: Sequence Roll Over
Date: 2003-07-06 14:36:46
Message-ID: 1057501791.3175.5.camel@Arakis
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

What happens when a sequence for auto-numbered records gets to its
maximum value and another record is added?

Does using a sequence for this limit the amount of records the table can
hold?

If records are deleted, is there a standard way of renumbering all
records so their ID's are consecutive starting from zero and then
reseting the sequence to the highest ID value?

Thanks,

M

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Andrew Gould 2003-07-06 15:38:07 FYI: geometric means in one step without custom functions
Previous Message Shridhar Daithankar 2003-07-06 09:48:32 Re: Tables larger than 1GB