Re: WaitOnLock error - what does this mean?
От | Bruce Momjian |
---|---|
Тема | Re: WaitOnLock error - what does this mean? |
Дата | |
Msg-id | 200007271858.OAA27159@candle.pha.pa.us обсуждение исходный текст |
Ответ на | Re: WaitOnLock error - what does this mean? (Tom Lane <tgl@sss.pgh.pa.us>) |
Список | 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... 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@candle.pha.pa.us | (610) 853-3000 + If your life is a hard drive, | 830 Blythe Avenue + Christ can be your backup. | Drexel Hill, Pennsylvania 19026
В списке pgsql-general по дате отправления: