Re: WaitOnLock error - what does this mean?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Robert B(dot) Easter" <reaster(at)comptechnews(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: WaitOnLock error - what does this mean?
Date: 2000-07-24 03:46:33
Message-ID: 15266.964410393@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

"Robert B. Easter" <reaster(at)comptechnews(dot)com> writes:
> ERROR: WaitOnLock: error on wakeup - Aborting this transaction

Is there any NOTICE coming out right before that?

For example:

psql #1:

begin;
lock table tenk1;

psql #2:

begin;
lock table tenk2;
lock table tenk1;

<waits>

psql #1:

lock table tenk2;

NOTICE: Deadlock detected -- See the lock(l) manual page for a possible cause.
ERROR: WaitOnLock: error on wakeup - Aborting this transaction

Not sure why this isn't just one ERROR, since anyone using a client that
discards NOTICEs is going to be confused...

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message anuj 2000-07-24 03:48:16 RE: how connect visual basic to pgsql?
Previous Message Tom Lane 2000-07-24 03:36:01 Re: Migrating from Sybase