Re: Article on MySQL vs. Postgres
| От | Hannu Krosing |
|---|---|
| Тема | Re: Article on MySQL vs. Postgres |
| Дата | |
| Msg-id | 3962F44B.AEB0BABC@tm.ee обсуждение исходный текст |
| Ответ на | Re: Article on MySQL vs. Postgres (The Hermit Hacker <scrappy@hub.org>) |
| Список | 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 по дате отправления: