Re: Wait event that should be reported while waiting for WALarchiving to finish

Поиск
Список
Период
Сортировка
От Fujii Masao
Тема Re: Wait event that should be reported while waiting for WALarchiving to finish
Дата
Msg-id 61477660-dded-2550-b101-c76a2f864806@oss.nttdata.com
обсуждение исходный текст
Ответ на Re: Wait event that should be reported while waiting for WALarchiving to finish  (Robert Haas <robertmhaas@gmail.com>)
Ответы Re: Wait event that should be reported while waiting for WALarchiving to finish  (Michael Paquier <michael@paquier.xyz>)
Список pgsql-hackers

On 2020/02/14 23:43, Robert Haas wrote:
> On Thu, Feb 13, 2020 at 10:47 PM Fujii Masao
> <masao.fujii@oss.nttdata.com> wrote:
>> Fixed. Thanks for the review!
> 
> I think it would be safer to just report the wait event during
> pg_usleep(1000000L) rather than putting those calls around the whole
> loop. It does not seem impossible that ereport() or
> CHECK_FOR_INTERRUPTS() could do something that reports a wait event
> internally.

OK, so I attached the updated version of the patch.
Thanks for the review!

Regards,

-- 
Fujii Masao
NTT DATA CORPORATION
Advanced Platform Technology Group
Research and Development Headquarters

Вложения

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

Предыдущее
От: Fujii Masao
Дата:
Сообщение: Re: Wait event that should be reported while waiting for WALarchiving to finish
Следующее
От: Fujii Masao
Дата:
Сообщение: Re: table partitioning and access privileges