Re: Code paths where LWLock should be released on failure

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Code paths where LWLock should be released on failure
Дата
Msg-id 18073.1429767976@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Code paths where LWLock should be released on failure  (Michael Paquier <michael.paquier@gmail.com>)
Ответы Re: Code paths where LWLock should be released on failure  (Michael Paquier <michael.paquier@gmail.com>)
Список pgsql-hackers
Michael Paquier <michael.paquier@gmail.com> writes:
> After looking at bug #13128, I have been looking at the code around
> LWLockAcquire/Release to see if there are similar issues elsewhere.
> Here are my findings:

IIRC, we automatically release all LWLocks at the start of error recovery,
so I rather doubt that any of this is necessary.
        regards, tom lane



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

Предыдущее
От: Michael Paquier
Дата:
Сообщение: Code paths where LWLock should be released on failure
Следующее
От: Michael Paquier
Дата:
Сообщение: Re: Bogus WAL segments archived after promotion