Re: should frontend tools use syncfs() ?

Поиск
Список
Период
Сортировка
От Nathan Bossart
Тема Re: should frontend tools use syncfs() ?
Дата
Msg-id 20230901021727.GA3097511@nathanxps13
обсуждение исходный текст
Ответ на Re: should frontend tools use syncfs() ?  (Michael Paquier <michael@paquier.xyz>)
Список pgsql-hackers
On Fri, Sep 01, 2023 at 10:40:12AM +0900, Michael Paquier wrote:
> That should be OK this way.  The extra running time is not really
> visible, right?

AFAICT it is negligible.  Presumably it could take a little longer if there
is a lot to sync on the file system, but I don't know if that's worth
worrying about.

> +command_ok([ 'initdb', '-S', $datadir, '--sync-method', 'fsync' ],
> +   'sync method fsync');
> 
> Removing this one may be fine, actually, because we test the sync
> paths on other places like pg_dump.

Done.

> This split is OK by me, so WFM.

Cool.

-- 
Nathan Bossart
Amazon Web Services: https://aws.amazon.com

Вложения

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

Предыдущее
От: Chapman Flack
Дата:
Сообщение: Re: More new SQL/JSON item methods
Следующее
От: Richard Guo
Дата:
Сообщение: Re: Should we use MemSet or {0} for struct initialization?