Re: fsync with sync, and Win32 unlink - Mailing list pgsql-hackers-win32

From Claudio Natoli
Subject Re: fsync with sync, and Win32 unlink
Date
Msg-id A02DEC4D1073D611BAE8525405FCCE2B55F373@harris.memetrics.local
Whole thread Raw
Responses Re: fsync with sync, and Win32 unlink  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers-win32
> I have talked to Tom today and he is willing to implement the discussed
> method of doing fsync on every file modified between checkpoints,

Great news.


> and add unlink handling for open files for Win32.

Tom, can you hold off on "unlink handling" part of the implementation, at
least for a few days? I'm testing a patch right now to work around this very
issue (involves, under win32, replacing _open() with CreateFile, which
accepts parameters to allow deletion of the held file. Initial testing looks
good, but it'll need community review).

Cheers,
Claudio

---
Certain disclaimers and policies apply to all email sent from Memetrics.
For the full text of these disclaimers and policies see
<a
href="http://www.memetrics.com/emailpolicy.html">http://www.memetrics.com/em
ailpolicy.html</a>

pgsql-hackers-win32 by date:

Previous
From: "Korea PostgreSQL Users' Group"
Date:
Subject: Re: initdb problem
Next
From: Claudio Natoli
Date:
Subject: Re: initdb problen