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

From: jseymour(at)LinxNet(dot)com (Jim Seymour)
To: pgsql-admin(at)postgresql(dot)org
Subject: Re: Frequent 'deadlock detected' in 7.4 ... or just my bad
Date: 2004-04-06 00:26:29
Message-ID: 20040406002629.39A314307@jimsun.LinxNet.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

"Marc G. Fournier" <scrappy(at)postgresql(dot)org> wrote:
>
> On Mon, 5 Apr 2004, Tom Lane wrote:
>
> > "Marc G. Fournier" <scrappy(at)postgresql(dot)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

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Lamar Owen 2004-04-06 02:28:29 Re: Problem after RH9 Install of 7.4.2
Previous Message Jim Seymour 2004-04-06 00:20:20 Re: Problem after RH9 Install of 7.4.2