Win32 rename()/unlink() questions

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Win32 rename()/unlink() questions
Дата
Msg-id 200209190001.g8J01gG13849@candle.pha.pa.us
обсуждение исходный текст
Ответы Re: Win32 rename()/unlink() questions  ("Ross J. Reedstrom" <reedstrm@rice.edu>)
Список pgsql-hackers
I am working with several groups getting the Win32 port ready for 7.4
and I have a few questions:

What is the standard workaround for the fact that rename() isn't atomic
on Win32?  Do we need to create our own locking around the
reading/writing of files that are normally updated in place using
rename()?

Second, when you unlink() a file on Win32, do applications continue
accessing the old file contents if they had the file open before the
unlink?

--  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,
Pennsylvania19073
 


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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: Open 7.3 items
Следующее
От: Rod Taylor
Дата:
Сообщение: Re: BLOB