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

Re: Permission denied on fsync / Win32 (was right

From: "Magnus Hagander" <mha(at)sollentuna(dot)net>
To: "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>,"Peter Brant" <Peter(dot)Brant(at)wicourts(dot)gov>
Cc: <pgsql-bugs(at)postgresql(dot)org>
Subject: Re: Permission denied on fsync / Win32 (was right
Date: 2006-04-18 17:24:32
Message-ID: 6BCB9D8A16AC4241919521715F4D8BCEA0F918@algol.sollentuna.se (view raw or flat)
Thread:
Lists: pgsql-bugs
> > The error messages refer to the old relfilenode (in 3 out of 3 
> > occurrences today).
> 
> So it'd seem the problem is with fsync on recently-deleted files.
> Is it possible that we are getting EACCES (ERROR_SHARING_VIOLATION
> maybe) in the situation where we try to fsync a file that's 
> been unlinked but isn't fully gone yet due to open handles?

I think that sounds "reasonable". Not as in a reasonable thing to do,
but as a reasonable thing to expect from the win32 api.

//Magnus

Responses

pgsql-bugs by date

Next:From: Tom LaneDate: 2006-04-18 17:35:39
Subject: Re: Permission denied on fsync / Win32 (was right
Previous:From: Tom LaneDate: 2006-04-18 17:09:09
Subject: Re: [Win32] Problem with rename()

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