Re: 8.3 .4 + Vista + MingW + initdb = ACCESS_DENIED

From: Rainer Bauer <usenet(at)munnin(dot)com>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Re: 8.3 .4 + Vista + MingW + initdb = ACCESS_DENIED
Date: 2008-10-16 16:04:32
Message-ID: h8pef490u8fqpl1pnr0o144n6lrn844fvp@4ax.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

"Matthew T. O'Connor" wrote:

>Tom Lane wrote:
>>
>> ROTFL ... so to translate: "If your program crashes, please release
>> locks before crashing."
>
>Obviously that wasn't the intent of the above, but I guess it is the net
>effect. Either way, I don't think it's a huge problem, it just means
>that PG may not be able to restart for a few seconds until the OS has
>time to clean-up the locks.

I don't think so. I am using DevStudio 2005 here and from time to time the
debugger crashes so that I have to kill the program via the task manager.
Afterwards it's not possible to load the crashed project again in a newly
started DevStudio session, because some project files are still locked
exclusively. The only action that helps is rebooting windows.

Now, I don't know whether DevStudio is using LockFileEx() but somehow this
sounds familiar.

Rainer

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Simon Riggs 2008-10-16 16:18:00 Re: Deriving Recovery Snapshots
Previous Message Heikki Linnakangas 2008-10-16 15:52:34 Re: Deriving Recovery Snapshots