Обсуждение: Re: fsync with sync, and Win32 unlink

Поиск
Список
Период
Сортировка

Re: fsync with sync, and Win32 unlink

От
Claudio Natoli
Дата:
> 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>

Re: fsync with sync, and Win32 unlink

От
Tom Lane
Дата:
Claudio Natoli <claudio.natoli@memetrics.com> writes:
> Tom, can you hold off on "unlink handling" part of the implementation, at
> least for a few days?

Love to ;-)

> 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).

However, I don't see exactly how that can win?

            regards, tom lane