Re: wait event and archive_command
От
Michael Paquier
Тема
Re: wait event and archive_command
Дата
Msg-id
YZXL2dB7x3NsCWDr@paquier.xyz
Ответ на
Re: wait event and archive_command (Fujii Masao)
Список
Дерево обсуждения
wait event and archive_command Fujii Masao <masao.fujii@oss.nttdata.com>
Re: wait event and archive_command Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>
Re: wait event and archive_command Fujii Masao <masao.fujii@oss.nttdata.com>
Re: wait event and archive_command Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>
Re: wait event and archive_command Fujii Masao <masao.fujii@oss.nttdata.com>
Re: wait event and archive_command Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>
Re: wait event and archive_command Michael Paquier <michael@paquier.xyz>
Re: wait event and archive_command Fujii Masao <masao.fujii@oss.nttdata.com>
Re: wait event and archive_command Fujii Masao <masao.fujii@oss.nttdata.com>
Re: wait event and archive_command Michael Paquier <michael@paquier.xyz>
Re: wait event and archive_command Sascha Kuhl <yogidabanli@gmail.com>
Re: wait event and archive_command Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>
Re: wait event and archive_command Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>
Re: wait event and archive_command Michael Paquier <michael@paquier.xyz>
Re: wait event and archive_command Fujii Masao <masao.fujii@oss.nttdata.com>
On Thu, Nov 18, 2021 at 11:23:17AM +0900, Fujii Masao wrote: > Yes, that's possible. But isn't it uglier to make ExecuteRecoveryCommand() have > the map of command name and wait event? So I feel inclined to avoid adding > something like the following code into the function... Thought? FWIW, I find cleaner, and less bug-prone, the approach taken by Fujii-san's patch to have the wait event set as an argument of the function rather than trying to guess it from the command data. -- Michael
В списке pgsql-hackers по дате отправления
От: Amit Kapila
Дата:
От: houzj.fnst@fujitsu.com
Дата: