Re: [PATCHES] SRA Win32 sync() code

Tom Lane <tgl@sss.pgh.pa.us>

From: Tom Lane <tgl@sss.pgh.pa.us>
To: Manfred Spraul <manfred@colorfullife.com>
Cc: Bruce Momjian <pgman@candle.pha.pa.us>, PostgreSQL-patches <pgsql-patches@postgresql.org>, PostgreSQL Win32 port list <pgsql-hackers-win32@postgresql.org>
Date: 2003-11-16T17:29:52Z
Lists: pgsql-hackers
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