Re: Win32 Powerfail testing - Mailing list pgsql-hackers

From Tatsuo Ishii
Subject Re: Win32 Powerfail testing
Date
Msg-id 20030306.171858.07642761.t-ishii@sra.co.jp
Whole thread Raw
In response to Re: Win32 Powerfail testing  (Kevin Brown <kevin@sysexperts.com>)
List pgsql-hackers
> 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


pgsql-hackers by date:

Previous
From: Justin Clift
Date:
Subject: Re: ETA for PostgreSQL 7.3.3?
Next
From: Christoph Haller
Date:
Subject: Re: Error codes revisited