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

Поиск
Список
Период
Сортировка
От Matthew T. O'Connor
Тема Re: 8.3 .4 + Vista + MingW + initdb = ACCESS_DENIED
Дата
Msg-id 48F62CA3.7070708@zeut.net
обсуждение исходный текст
Ответ на Re: 8.3 .4 + Vista + MingW + initdb = ACCESS_DENIED  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: 8.3 .4 + Vista + MingW + initdb = ACCESS_DENIED  ("Robert Haas" <robertmhaas@gmail.com>)
Список 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 по дате отправления:

Предыдущее
От: Andrew Chernow
Дата:
Сообщение: Re: 8.3 .4 + Vista + MingW + initdb = ACCESS_DENIED
Следующее
От: Guillaume Lelarge
Дата:
Сообщение: WIP : change tablespace for a database