Re: WaitOnLock error - what does this mean?
| От | Tom Lane |
|---|---|
| Тема | Re: WaitOnLock error - what does this mean? |
| Дата | |
| Msg-id | 15266.964410393@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | WaitOnLock error - what does this mean? ("Robert B. Easter" <reaster@comptechnews.com>) |
| Ответы |
Re: WaitOnLock error - what does this mean?
Re: WaitOnLock error - what does this mean? |
| Список | pgsql-general |
"Robert B. Easter" <reaster@comptechnews.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
В списке pgsql-general по дате отправления: