Re: SELECT...FOR UPDATE

From: Stephan Szabo <sszabo(at)megazone23(dot)bigpanda(dot)com>
To: Andreas Plesner Jacobsen <apj(at)mutt(dot)dk>
Cc: <pgsql-general(at)postgresql(dot)org>
Subject: Re: SELECT...FOR UPDATE
Date: 2002-07-11 22:30:39
Message-ID: 20020711151608.R66876-100000@megazone23.bigpanda.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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)

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Dmitry Tkach 2002-07-11 22:50:44 Please, HELP! Why is the query plan so wrong???
Previous Message Bruce Momjian 2002-07-11 22:13:47 Re: Jan's Name (Was: Re: I am being interviewed by OReilly)