Skip site navigation (1) Skip section navigation (2)

Re: Win32 Powerfail testing

From: Tatsuo Ishii <t-ishii(at)sra(dot)co(dot)jp>
To: kevin(at)sysexperts(dot)com
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Win32 Powerfail testing
Date: 2003-03-06 08:18:58
Message-ID: 20030306.171858.07642761.t-ishii@sra.co.jp (view raw or flat)
Thread:
Lists: 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

In response to

pgsql-hackers by date

Next:From: Dave PageDate: 2003-03-06 08:20:38
Subject: Re: Win32 Powerfail testing
Previous:From: Christoph HallerDate: 2003-03-06 08:18:43
Subject: Re: Error codes revisited

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group