Re: [PATCHES] SRA Win32 sync() code

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Manfred Spraul <manfred(at)colorfullife(dot)com>
Cc: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>, PostgreSQL-patches <pgsql-patches(at)postgresql(dot)org>, PostgreSQL Win32 port list <pgsql-hackers-win32(at)postgresql(dot)org>
Subject: Re: [PATCHES] SRA Win32 sync() code
Date: 2003-11-16 17:29:52
Message-ID: 28666.1069003792@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-hackers-win32 pgsql-patches

Manfred Spraul <manfred(at)colorfullife(dot)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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Larry Rosenman 2003-11-16 17:38:29 interesting SIGNAL 10 (BUSERR) on CVS
Previous Message Manfred Spraul 2003-11-16 17:19:05 Re: [PATCHES] SRA Win32 sync() code

Browse pgsql-hackers-win32 by date

  From Date Subject
Next Message Andrew Dunstan 2003-11-16 17:38:52 Re: [PATCHES] SRA Win32 sync() code
Previous Message Manfred Spraul 2003-11-16 17:19:05 Re: [PATCHES] SRA Win32 sync() code

Browse pgsql-patches by date

  From Date Subject
Next Message Kurt Roeckx 2003-11-16 17:32:00 Re: SIGPIPE handling
Previous Message Kurt Roeckx 2003-11-16 17:28:06 Re: SIGPIPE handling