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

From Peter Brant
Subject Re: Permission denied on fsync / Win32 (was right
Date
Msg-id 44463345020000BE00002FD3@gwmta.wicourts.gov
Whole thread Raw
In response to Re: Permission denied on fsync / Win32 (was right  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-bugs
I'm not sure that's the whole story.  "Server #3" had backends with
handles to the old relfilenode.  It didn't have any fsync errors and the
old relfilenode was apparently successfully deleted (or at least it
wasn't visible in the file system anymore).  That's the part of the
morning's investigations that left me kind of nonplussed.

Of half dozen or so cases I've looked at more closely, the error has
always referred to the old relfilenode.  I'll spot check a few more
though.

Pete

>>> Tom Lane <tgl@sss.pgh.pa.us> 04/19/06 7:21 pm >>>
It seems pretty clear to me that the problem occurs when we try to
fsync the old relfilenode, which is in a pending-delete state but
hasn't been deleted yet because of the presence of open handles in
some backends.

pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: pg_dump or hardware?
Next
From: Martijn van Oosterhout
Date:
Subject: Re: bug in windows xp