"Aaron J. Seigo" wrote:

> > This is a question that could be an answer.  What do y'all think about
> > using the OID to get the same functionality (unless he really needs a
> > sequence of nice small numbers)?
>
> OIDs don't survive dump/reloads and sequences already provide this
> functionality, surviving dump/reloads

The postgres SERIAL type, which is a sequence, is fairly well-suited to
primary key usage.  See PG documentation for details...

Cheers.
Ed Loehr


************

Reply via email to