Re: 8.3 .4 + Vista + MingW + initdb = ACCESS_DENIED - Mailing list pgsql-hackers

From Matthew T. O'Connor
Subject Re: 8.3 .4 + Vista + MingW + initdb = ACCESS_DENIED
Date
Msg-id 48F62CA3.7070708@zeut.net
Whole thread Raw
In response to Re: 8.3 .4 + Vista + MingW + initdb = ACCESS_DENIED  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: 8.3 .4 + Vista + MingW + initdb = ACCESS_DENIED
List pgsql-hackers
Tom Lane wrote:
> Andrew Chernow <ac@esilo.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."

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.


pgsql-hackers by date:

Previous
From: Andrew Chernow
Date:
Subject: Re: 8.3 .4 + Vista + MingW + initdb = ACCESS_DENIED
Next
From: Guillaume Lelarge
Date:
Subject: WIP : change tablespace for a database