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

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Andrew Chernow <ac(at)esilo(dot)com>
Cc: Magnus Hagander <magnus(at)hagander(dot)net>, Andrew Dunstan <andrew(at)dunslane(dot)net>, Dave Page <dpage(at)pgadmin(dot)org>, Zeugswetter Andreas OSB sIT <Andreas(dot)Zeugswetter(at)s-itsolutions(dot)at>, Charlie Savage <cfis(at)savagexi(dot)com>, "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: 8.3 .4 + Vista + MingW + initdb = ACCESS_DENIED
Date: 2008-10-15 17:43:49
Message-ID: 24383.1224092629@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Andrew Chernow <ac(at)esilo(dot)com> writes:
> Be careful. From LockFileEx docs:

> "However, the time it takes for the operating system to unlock these
> locks depends upon available system resources. Therefore, it is
> recommended that your process explicitly unlock all files it has locked
> when it terminates. If this is not done, access to these files may be
> denied if the operating system has not yet unlocked them."

ROTFL ... so to translate: "If your program crashes, please release
locks before crashing."

No wonder Windows has such a crummy reputation.

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Andrew Chernow 2008-10-15 17:44:33 Re: 8.3 .4 + Vista + MingW + initdb = ACCESS_DENIED
Previous Message Andrew Chernow 2008-10-15 17:39:39 Re: 8.3 .4 + Vista + MingW + initdb = ACCESS_DENIED