Re: Removal of win32-specific rename code

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: Removal of win32-specific rename code
Дата
Msg-id 200403161323.i2GDNCB05699@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: Removal of win32-specific rename code  (Claudio Natoli <claudio.natoli@memetrics.com>)
Список pgsql-patches
Claudio Natoli wrote:
>
> > main file.  WIth Claudio's fix, this isn't necessary.
>
> Bruce, are you sure this is true? The fix is only for files than are
> open()'d, not fopen()'d (as per AllocateFile).

If your fix works, I will change the Win32-specific code to use open()
and fdopen().  The only advantage to the old code was that it would
release locks, then go into a rename loop, which is horid, and we need
to avoid the loop.

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

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

Предыдущее
От: Claudio Natoli
Дата:
Сообщение: Re: Removal of win32-specific rename code
Следующее
От: Fabien COELHO
Дата:
Сообщение: hint infrastructure setup (v2)