The Hermit Hacker wrote:
>
> On Tue, 4 Jul 2000, Tim Perdue wrote:
>
> > Further, I have had situations where postgres actually had DUPLICATE
> > ids in a primary key field, probably due to some abort or other nasty
> > situation in the middle of a commit. How did I recover from That?
> > Well, I had to run a count(*) next to each ID and select out the rows
> > where there was more than one of each "unique" id, then reinsert those
> > rows and drop and rebuild the indexes and reset the sequences.
>
> Odd, were you using transactions here, or transactionless?
Actully I think I remember a recent bug report about some condition that
failed the uniqueness check when inside a transaction ;(
I think the report came with a fix ;)
------------
Hannu