Re: Serial - Mailing list pgsql-sql

From Richard Broersma Jr
Subject Re: Serial
Date
Msg-id 407615.82627.qm@web31803.mail.mud.yahoo.com
Whole thread Raw
In response to Re: Serial  (Scott Marlowe <smarlowe@g2switchworks.com>)
List pgsql-sql
--- > Yes there is, and you generally shouldn't do it.  There are issues with
> race conditions and misreferenced data that can happen when you try to
> reuse sequence numbers.
> 
> Sadly, some poorly defined business processes require this.
> 
> Are you required to have sequential numbers, or is just something that
> feels good / looks good?

The following link develops the use of a gapless sequence:
http://www.varlena.com/GeneralBits/130.php

Regards,
Richard Broersma Jr.


pgsql-sql by date:

Previous
From: Hilary Forbes
Date:
Subject: Re: Using a variable as a view name in a select
Next
From: Andrew Sullivan
Date:
Subject: Re: Update problem.