Re: win32 _dosmaperr() - Mailing list pgsql-hackers

From Qingqing Zhou
Subject Re: win32 _dosmaperr()
Date
Msg-id db5lvp$2cuo$1@news.hub.org
Whole thread Raw
In response to Re: win32 _dosmaperr()  ("Magnus Hagander" <mha@sollentuna.net>)
List pgsql-hackers
""Magnus Hagander"" <mha@sollentuna.net> writes
>
> I suggest you try using Process Explorer from www.sysinternals.com to
> figure out who has the file open. Most of the time it should be able to
> tell you exactly who has locked the file - at least as long as it's done
> from userspace. I'm not 100% sure on how it deals with kernel level
> locks.
>

Yes, "handle"  (also in sysinternal's site) might be an alternative. I've
add a call to "handle" to catch all the open handles of DataDir when the
error is trapped.

Regards,
Qingqing




pgsql-hackers by date:

Previous
From: "Andrew Dunstan"
Date:
Subject: Re: Order by optimisations?
Next
From: Andrew Dunstan
Date:
Subject: Re: windows regression failure - prepared xacts