Re: Doesn't pgstat_report_wal() handle the argument "force" incorrectly

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: Doesn't pgstat_report_wal() handle the argument "force" incorrectly
Дата
Msg-id ZRIm06ISiYWq4ivF@paquier.xyz
обсуждение исходный текст
Ответ на Re: Doesn't pgstat_report_wal() handle the argument "force" incorrectly  (Ryoga Yoshida <bt23yoshidar@oss.nttdata.com>)
Список pgsql-hackers
On Mon, Sep 25, 2023 at 02:49:50PM +0900, Ryoga Yoshida wrote:
> On 2023-09-25 14:38, Michael Paquier wrote:
>> Another idea would be to do like in pgstat.c by adding the following
>> line, then use "nowait" to call each sub-function:
>> nowait = !force;
>> pgstat_flush_wal(nowait);
>> pgstat_flush_io(nowait);
>
> That's very clear and I think it's good.

Done this way down to 15, then, with more comment polishing.
--
Michael

Вложения

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

Предыдущее
От: Michael Paquier
Дата:
Сообщение: Re: Doc: vcregress .bat commands list lacks "taptest"
Следующее
От: Peter Smith
Дата:
Сообщение: Re: Add 'worker_type' to pg_stat_subscription