Re: should frontend tools use syncfs() ? - Mailing list pgsql-hackers

From Robert Haas
Subject Re: should frontend tools use syncfs() ?
Date
Msg-id CA+TgmobERGms_+O7pFCLEzgcexSCB9JCkuzZFxyW702gf3BVGw@mail.gmail.com
Whole thread Raw
In response to Re: should frontend tools use syncfs() ?  (Michael Paquier <michael@paquier.xyz>)
Responses Re: should frontend tools use syncfs() ?
List 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 by date:

Previous
From: Joe Conway
Date:
Subject: Re: C function to return double precision[][]
Next
From: Dean Rasheed
Date:
Subject: Re: [PATCH] Add function to_oct