Re: Permission denied on fsync / Win32 (was right

From: "Peter Brant" <Peter(dot)Brant(at)wicourts(dot)gov>
To: "Magnus Hagander" <mha(at)sollentuna(dot)net>, "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: <pgsql-bugs(at)postgresql(dot)org>
Subject: Re: Permission denied on fsync / Win32 (was right
Date: 2006-04-18 18:49:45
Message-ID: 4444EE79020000BE00002F80@gwmta.wicourts.gov
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

It happens often enough and the episodes last long enough that grabbing
a handle dump while this is going on should be easily done.

Regarding the Win32 error code, backend/storage/file/fd.c calls
_commit().
http://msdn2.microsoft.com/en-us/library/17618685(VS.80).aspx It looks
like it is already using errno to report errors. Will GetLastError()
return something useful there?

Pete

>>> Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> 04/18/06 7:35 pm >>>
Probably be good if someone can experimentally confirm that (and
confirm
exactly which underlying Win32 error code it is) before we think about
how to fix it.

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2006-04-18 18:53:57 Re: Permission denied on fsync / Win32 (was right
Previous Message Magnus Hagander 2006-04-18 18:45:22 Re: Permission denied on fsync / Win32 (was right