Re: SELECT...FOR UPDATE - Mailing list pgsql-general

From Stephan Szabo
Subject Re: SELECT...FOR UPDATE
Date
Msg-id 20020711151608.R66876-100000@megazone23.bigpanda.com
Whole thread Raw
In response to Re: SELECT...FOR UPDATE  (Andreas Plesner Jacobsen <apj@mutt.dk>)
List pgsql-general
On Thu, 11 Jul 2002, Andreas Plesner Jacobsen wrote:

> On Thu, Jul 11, 2002 at 02:38:16PM -0700, Stephan Szabo wrote:
> >
> > > > I'd suggest running with query printing turned on to see in more
> > > > detail what's going on.
> > >
> > > I know the exact query, so I don't see, where that would help?
> >
> > It was more to see what other transactions were doing other than
> > the one running the above immediately before the deadlock.
>
> I've tried turning up the debug-level, but the amount of transactions is
> too big for that to be usable :/

Hmm, without being able to see what's going on, I'm not sure what to
suggest (I assume you've tried only turning on the query printing but not
raising the normal debug level).

Maybe you'll get something useful if you define LOCK_DEBUG and
recompile and then use some of the GUC settings that defines (
see src/backend/storage/lmgr/lock.c for a little more info)



pgsql-general by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: Jan's Name (Was: Re: I am being interviewed by OReilly)
Next
From: Kurt at iadvance
Date:
Subject: Re: Jan's Name (Was: Re: I am being interviewed by OReilly)