> It would be an interesting comparison for you to roll the file
> descriptor tracking changes into the Unix side of the tree and use
> fsync() or fdatasync() in place of FlushFileBuffers() on the Unix side
> (you'd have to remove or disable the code that does a sync() of
> course). If the end result yields no data corruption issues during
> powerfail testing on various Unix platforms then it's reasonably
> likely that the problem you're experiencing on the Windows side is
> with the underlying Windows platform and not with your code.
Sounds like an idea. I'll do it if I have a spare time.
--
Tatsuo Ishii
In response to
pgsql-hackers by date
| Next: | From: Dave Page | Date: 2003-03-06 08:20:38 |
| Subject: Re: Win32 Powerfail testing |
| Previous: | From: Christoph Haller | Date: 2003-03-06 08:18:43 |
| Subject: Re: Error codes revisited |