Re: win32 _dosmaperr()

From: "Qingqing Zhou" <zhouqq(at)cs(dot)toronto(dot)edu>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Re: win32 _dosmaperr()
Date: 2005-07-14 12:29:38
Message-ID: db5lvp$2cuo$1@news.hub.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

""Magnus Hagander"" <mha(at)sollentuna(dot)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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Andrew Dunstan 2005-07-14 12:35:18 Re: windows regression failure - prepared xacts
Previous Message Michael Fuhr 2005-07-14 12:13:48 7.3 regression failures after recent commit