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

Re: Permission denied on fsync / Win32 (was right

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Magnus Hagander" <mha(at)sollentuna(dot)net>
Cc: "Peter Brant" <Peter(dot)Brant(at)wicourts(dot)gov>, pgsql-bugs(at)postgresql(dot)org
Subject: Re: Permission denied on fsync / Win32 (was right
Date: 2006-04-18 18:53:57
Message-ID: 17744.1145386437@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-bugs
"Magnus Hagander" <mha(at)sollentuna(dot)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

In response to

pgsql-bugs by date

Next:From: Magnus HaganderDate: 2006-04-18 19:00:54
Subject: Re: Permission denied on fsync / Win32 (was right
Previous:From: Peter BrantDate: 2006-04-18 18:49:45
Subject: Re: Permission denied on fsync / Win32 (was right

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