Re: Serial Unique question - Mailing list pgsql-general

From Douglas McNaught
Subject Re: Serial Unique question
Date
Msg-id m2acjjw6lb.fsf@Douglas-McNaughts-Powerbook.local
Whole thread Raw
In response to Serial Unique question  (Madison Kelly <linux@alteeve.com>)
Responses Re: Serial Unique question
List pgsql-general
Madison Kelly <linux@alteeve.com> writes:

>    I want to use a 'serial uniue' column in a table but there is
>    likely to be many, many inserts and deletes from this column. I was
>    wondering, what happens when the serial value reaches
>    2,147,483,647'? Does it roll back over to '1' and keep going or
>    will the database start erroring out? This isn't likely to be a
>    problem any time soon, but over the course of a year or more it
>    might be.

Use a "bigserial" instead?

-Doug

pgsql-general by date:

Previous
From: David Fetter
Date:
Subject: Re: Postgresql Books: Which one ?
Next
From: Madison Kelly
Date:
Subject: Re: Serial Unique question