Re: [pgsql-hackers-win32] win32 open patch for held unlink

Поиск
Список
Период
Сортировка
От Claudio Natoli
Тема Re: [pgsql-hackers-win32] win32 open patch for held unlink
Дата
Msg-id A02DEC4D1073D611BAE8525405FCCE2B55F38B@harris.memetrics.local
обсуждение исходный текст
Ответы Re: [pgsql-hackers-win32] win32 open patch for held unlink  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-patches

> Claudio, how does this handle renames if the file is open by someone
> else?  Does this remove the need to loop over the rename?

To be honest, I don't know that it does. [Will report back later.]

Two points though:

a) This could doesn't alleviate the needs for dirmod.c, as far as I'm aware.
That seems to be there for a different reason, namely that there appears to
be some timing issue between creating a file and issuing an unlink/rename.

b) Do we have a case where rename's can block because of the file being held
open by another process? I haven't tripped over this yet...

Cheers,
Claudio



---
Certain disclaimers and policies apply to all email sent from Memetrics.
For the full text of these disclaimers and policies see
<a
href="http://www.memetrics.com/emailpolicy.html">http://www.memetrics.com/em
ailpolicy.html</a>

В списке pgsql-patches по дате отправления:

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: [pgsql-hackers-win32] win32 open patch for held unlink
Следующее
От: Claudio Natoli
Дата:
Сообщение: Re: [pgsql-hackers-win32] win32 open patch for held unlink