From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | "Robert B(dot) Easter" <reaster(at)comptechnews(dot)com>, pgsql-general(at)postgresql(dot)org |
Subject: | Re: WaitOnLock error - what does this mean? |
Date: | 2000-07-27 18:58:18 |
Message-ID: | 200007271858.OAA27159@candle.pha.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...
Seems the code wants to throw the NOTICE, then keep going, then throw
the error later. I don't know who did this, but is was not me.
--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026
From | Date | Subject | |
---|---|---|---|
Next Message | Bruce Momjian | 2000-07-27 18:59:27 | Re: WaitOnLock error - what does this mean? |
Previous Message | Paul Caskey | 2000-07-27 17:24:55 | Re: 4 billion record limit? |