Re: BUG #1512: Assertion failure (lock.c:1537) with SELECT FOR UPDATE and savepoints

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: BUG #1512: Assertion failure (lock.c:1537) with SELECT FOR UPDATE and savepoints
Дата
Msg-id 22543.1109712057@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: BUG #1512: Assertion failure (lock.c:1537) with SELECT FOR UPDATE and savepoints  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-bugs
I wrote:
> ISTM we have to fix RemoveFromWaitQueue to remove the proclock object
> immediately if its count has gone to zero.  It should be impossible
> for the lock's count to have gone to zero (that would imply no one
> else holds the lock, so we couldn't be waiting on it) so an Assert
> is sufficient for that part.

I've applied a patch along these lines; it seems to make the problem
go away.

            regards, tom lane

В списке pgsql-bugs по дате отправления:

Предыдущее
От: "Magnus Hagander"
Дата:
Сообщение: Re: bcmwltry.exe, libeay32.dll
Следующее
От: "Chris Hutchinson"
Дата:
Сообщение: BUG #1513: pg_dump -t doesn't include sequences for pre-v8-created tables