Checkpoint start logging is done inside critical section

Поиск
Список
Период
Сортировка
От Ants Aasma
Тема Checkpoint start logging is done inside critical section
Дата
Msg-id CA+CSw_v5_gGVQgS2i1rg_hGwiCeGYyomB8u8VoXSY=T4+4DybQ@mail.gmail.com
обсуждение исходный текст
Ответы Re: Checkpoint start logging is done inside critical section
Список pgsql-hackers
The LogCheckpointStart() call inside CreateCheckPoint() is done while
inside a critical section. The elog call could trigger errors due to
memory allocations or from a logging hook, resulting in a panic. It
seems better to postpone the logging until after the critical section
is done. It's only a few lwlock acquisitions away and shouldn't make
any material difference. Patch to do so is attached.

Regards,
Ants Aasma

Вложения

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

Предыдущее
От: Larry Rosenman
Дата:
Сообщение: Re: DSM robustness failure (was Re: Peripatus/failures)
Следующее
От: "Tsunakawa, Takayuki"
Дата:
Сообщение: RE: Implementation of Flashback Query