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

Поиск
Список
Период
Сортировка
От jseymour@LinxNet.com (Jim Seymour)
Тема Re: Frequent 'deadlock detected' in 7.4 ... or just my bad
Дата
Msg-id 20040406002629.39A314307@jimsun.LinxNet.com
обсуждение исходный текст
Ответ на Re: Frequent 'deadlock detected' in 7.4 ... or just my bad  ("Marc G. Fournier" <scrappy@postgresql.org>)
Список pgsql-admin
"Marc G. Fournier" <scrappy@postgresql.org> wrote:
>
> On Mon, 5 Apr 2004, Tom Lane wrote:
>
> > "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.
>
> Ya, just saw the note from Matt on that also ... didn't realize it was
> *that* simple ... was going to look into using the NULL Berkeley DB driver
> ... the O'Reilly Programming Perl book that I have,...
[snip]

Kind of OT for this mailing list but...

What you just ran into is why I recommend to *anybody*, even the most
experienced of designers/engineers/coders/what-have-you, that they
start with "Learning Perl."  (Also an O'Reilly book.)  Saves no end of
grief ;).

IMO, "Programming Perl" is mainly useful after you already have a good
handle on the language.

Jim

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

Предыдущее
От: "scott.marlowe"
Дата:
Сообщение: Re: code editing
Следующее
От: lwu@mxlogic.com (Litao Wu)
Дата:
Сообщение: dynamic queries vs static queries