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

From Tom Lane
Subject Re: SRA Win32 sync() code
Date
Msg-id 28666.1069003792@sss.pgh.pa.us
Whole thread Raw
In response to Re: SRA Win32 sync() code  (Manfred Spraul <manfred@colorfullife.com>)
List pgsql-patches
Manfred Spraul <manfred@colorfullife.com> writes:
> Which function guarantees that renames of WAL files arrived on the disk?

The OS itself is supposed to guarantee that; that's what a journaling
file system is for.  In any case, I don't think we care.  Renaming would
apply only to WAL segments that are not currently needed where they are,
and would only be needed under their new names at some future time.
If the rename gets lost shortly after it's done, it can be redone.

            regards, tom lane

pgsql-patches by date:

Previous
From: Kurt Roeckx
Date:
Subject: Re: SIGPIPE handling
Next
From: Kurt Roeckx
Date:
Subject: Re: SIGPIPE handling