Re: should frontend tools use syncfs() ?

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: should frontend tools use syncfs() ?
Дата
Msg-id CA+TgmobERGms_+O7pFCLEzgcexSCB9JCkuzZFxyW702gf3BVGw@mail.gmail.com
обсуждение исходный текст
Ответ на Re: should frontend tools use syncfs() ?  (Michael Paquier <michael@paquier.xyz>)
Ответы Re: should frontend tools use syncfs() ?  (Michael Paquier <michael@paquier.xyz>)
Список pgsql-hackers
On Wed, Aug 16, 2023 at 11:50 PM Michael Paquier <michael@paquier.xyz> wrote:
> >> Do we actually need --no-sync at all if --sync-method is around?  We
> >> could have an extra --sync-method=none at option level with --no-sync
> >> still around mainly for compatibility?  Or perhaps that's just
> >> over-designing things?
> >
> > I don't have a strong opinion.  We could take up deprecating --no-sync in a
> > follow-up thread, though.  Like you said, we'll probably need to keep it
> > around for backward compatibility, so it might not be worth the trouble.
>
> Okay, maybe that's not worth it.

Doesn't seem worth it to me. I think --no-sync is more intuitive than
--sync-method=none, it's certainly shorter, and it's a pretty
important setting because we use it when running the regression tests.

--
Robert Haas
EDB: http://www.enterprisedb.com



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

Предыдущее
От: Joe Conway
Дата:
Сообщение: Re: C function to return double precision[][]
Следующее
От: Dean Rasheed
Дата:
Сообщение: Re: [PATCH] Add function to_oct