Re: Frequent 'deadlock detected' in 7.4 ... or just my bad code?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Frequent 'deadlock detected' in 7.4 ... or just my bad code?
Дата
Msg-id 13458.1081186878@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Frequent 'deadlock detected' in 7.4 ... or just my bad code?  ("Marc G. Fournier" <scrappy@postgresql.org>)
Список pgsql-admin
"Marc G. Fournier" <scrappy@postgresql.org> writes:
> D'oh ... just tested my assumption, it was wrong ... *sigh*  okay, back
> to the drawing board on the code ...

Can't you just change

>> foreach $company_id ( keys %traffic ) {

to

>> foreach $company_id ( sort keys %traffic ) {

etc.

            regards, tom lane

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

Предыдущее
От: Erland Sommarskog
Дата:
Сообщение: Re: what is the impact of Database size on Performemce
Следующее
От: bud.curtis@direcway.com (Bud Curtis)
Дата:
Сообщение: Problem after RH9 Install of 7.4.2