Re: SRA Win32 sync() code - Mailing list pgsql-patches

From Tom Lane
Subject Re: SRA Win32 sync() code
Date
Msg-id 9687.1069013828@sss.pgh.pa.us
Whole thread Raw
In response to Re: SRA Win32 sync() code  (Jan Wieck <JanWieck@Yahoo.com>)
Responses Re: SRA Win32 sync() code  (Jan Wieck <JanWieck@Yahoo.com>)
List pgsql-patches
Jan Wieck <JanWieck@Yahoo.com> writes:
> Removing sync() entirely requires very accurate fsync()'ing in the
> background writer, the checkpointer and the backends. Basically none of
> them can mark a block "clean" if he fails to fsync() the relation later!
> This will be a mess to code.

Not really.  The O_SYNC solution for example would be trivial to code.

            regards, tom lane

pgsql-patches by date:

Previous
From: Jan Wieck
Date:
Subject: Re: SRA Win32 sync() code
Next
From: Jan Wieck
Date:
Subject: Re: SRA Win32 sync() code