Re: Article on MySQL vs. Postgres - Mailing list pgsql-hackers

From Hannu Krosing
Subject Re: Article on MySQL vs. Postgres
Date
Msg-id 3962F44B.AEB0BABC@tm.ee
Whole thread Raw
In response to Re: Article on MySQL vs. Postgres  (The Hermit Hacker <scrappy@hub.org>)
List pgsql-hackers
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


pgsql-hackers by date:

Previous
From: Giles Lean
Date:
Subject: Re: Article on MySQL vs. Postgres
Next
From: Hannu Krosing
Date:
Subject: Re: Article on MySQL vs. Postgres