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

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 (view raw or flat)
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

pgsql-bugs by date

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

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