Re: Frequent 'deadlock detected' in 7.4 ... or just my bad - Mailing list pgsql-admin

From jseymour@LinxNet.com (Jim Seymour)
Subject Re: Frequent 'deadlock detected' in 7.4 ... or just my bad
Date
Msg-id 20040406002629.39A314307@jimsun.LinxNet.com
Whole thread Raw
In response to Re: Frequent 'deadlock detected' in 7.4 ... or just my bad  ("Marc G. Fournier" <scrappy@postgresql.org>)
List 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 by date:

Previous
From: "scott.marlowe"
Date:
Subject: Re: code editing
Next
From: lwu@mxlogic.com (Litao Wu)
Date:
Subject: dynamic queries vs static queries