From: | Magnus Hagander <magnus(at)hagander(dot)net> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | "Jim C(dot) Nasby" <jim(at)nasby(dot)net>, Patrick Earl <patearl(at)patearl(dot)net>, pgsql-general(at)postgresql(dot)org, pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: [HACKERS] Checkpoint request failed on version 8.2.1. |
Date: | 2007-01-15 18:07:29 |
Message-ID: | 45ABC2E1.5090501@hagander.net |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general pgsql-hackers |
Tom Lane wrote:
> Magnus Hagander <magnus(at)hagander(dot)net> writes:
>> Tom Lane wrote:
>>> pg_control is certainly not ever deleted or renamed, and in fact I
>>> believe there's an LWLock enforcing that only one PG process at a time
>>> is even touching it. So we need another theory to explain this one :-(
>
>> Right. What we need is a list of which processes have handles open to
>> the file, which can be dumped using Process Explorer (there are other
>> sysinternals tools to do it as well, but PE is probably the easiest)-
>
> Hmm, are you just assuming that the underlying error is
> ERROR_SHARING_VIOLATION? One of the things that's bothered me all along
> is that there are a dozen different Windows error codes that we map to
> EACCES ... perhaps it's time to think about disambiguating that a bit
> better?
I was. Using PE is just one way to prove that was it :-)
But yeah, that's probably a good idea. A quick look at the code says we
should at least ask people who have this problem to give it a run with
logging at DEBUG5 which should then log exactly what the errorcode was.
Or are you seeing more places that need such logging first?
//Magnus
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2007-01-15 18:21:21 | Re: [HACKERS] Checkpoint request failed on version 8.2.1. |
Previous Message | Oisin Glynn | 2007-01-15 18:03:32 | NOTIFY QUESTION |
From | Date | Subject | |
---|---|---|---|
Next Message | Florian G. Pflug | 2007-01-15 18:07:35 | Re: xml type and encodings |
Previous Message | Magnus Hagander | 2007-01-15 18:05:28 | Re: O_DIRECT support for Windows |