should frontend tools use syncfs() ?

Поиск
Список
Период
Сортировка
От Justin Pryzby
Тема should frontend tools use syncfs() ?
Дата
Msg-id 20210930004340.GM831@telsasoft.com
обсуждение исходный текст
Ответы Re: should frontend tools use syncfs() ?  (Michael Paquier <michael@paquier.xyz>)
Список pgsql-hackers
Forking this thread in which Thomas implemented syncfs for the startup process
(61752afb2).
https://www.postgresql.org/message-id/flat/CA%2BhUKG%2BSG9jSW3ekwib0cSdC0yD-jReJ21X4bZAmqxoWTLTc2A%40mail.gmail.com

Is there any reason that initdb/pg_basebackup/pg_checksums/pg_rewind shouldn't
use syncfs()  ?

do_syncfs() is in src/backend/ so would need to be duplicated^Wimplemented in
common.

They can't use the GUC, so need to add an cmdline option or look at an
environment variable.

Вложения

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

Предыдущее
От: Kyotaro Horiguchi
Дата:
Сообщение: Re: Remove page-read callback from XLogReaderState.
Следующее
От: Tang, Haiying/唐 海英
Дата:
Сообщение: RE: Logical replication timeout problem