> 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 ---------------------------(end of broadcast)--------------------------- TIP 5: Have you checked our extensive FAQ? http://www.postgresql.org/docs/faqs/FAQ.html