Re: Article on MySQL vs. Postgres

Поиск
Список
Период
Сортировка
От Tim Perdue
Тема Re: Article on MySQL vs. Postgres
Дата
Msg-id 3962B4C4.669E1720@valinux.com
обсуждение исходный текст
Ответ на Re: Article on MySQL vs. Postgres  (The Hermit Hacker <scrappy@hub.org>)
Список pgsql-hackers
The Hermit Hacker 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?

Does it matter? I suppose it was my programming error that somehow I got
duplicate primary keys in a table in the database where that should be
totally impossible under any circumstance? Another stupid
transactionless program I'm sure.

At any rate, it appears that the main problem I had with postgres (the
8K tuple limit) is being fixed and I will mention that in my writeup.

Tim

-- 
Founder - PHPBuilder.com / Geocrawler.com
Lead Developer - SourceForge
VA Linux Systems
408-542-5723


В списке pgsql-hackers по дате отправления:

Предыдущее
От: The Hermit Hacker
Дата:
Сообщение: Re: Article on MySQL vs. Postgres
Следующее
От: Philip Warner
Дата:
Сообщение: Re: Re: [GENERAL] Revised Copyright: is this more palatable?