Re: Permission denied on fsync / Win32 (was right - Mailing list pgsql-bugs

From Tom Lane
Subject Re: Permission denied on fsync / Win32 (was right
Date
Msg-id 17744.1145386437@sss.pgh.pa.us
Whole thread Raw
In response to Re: Permission denied on fsync / Win32 (was right  ("Magnus Hagander" <mha@sollentuna.net>)
List pgsql-bugs
"Magnus Hagander" <mha@sollentuna.net> writes:
> Because we are talking about checking the output from _commit(), right?
> (being fsync() redefined)

The failure could be coming from that, or from a preceding open() if the
bgwriter didn't already have the file open --- basically, the message
Peter is quoting indicates a failure return from FileSync() in fd.c.
The fact that it doesn't happen for him every time is pretty good
evidence that only one of those two cases fails.

            regards, tom lane

pgsql-bugs by date:

Previous
From: "Peter Brant"
Date:
Subject: Re: Permission denied on fsync / Win32 (was right
Next
From: "Magnus Hagander"
Date:
Subject: Re: Permission denied on fsync / Win32 (was right