| От | Bruce Momjian |
|---|---|
| Тема | Re: Win32 rename()/unlink() questions |
| Дата | |
| Msg-id | 200209201731.g8KHVRu17060@candle.pha.pa.us обсуждение |
| Ответ на | Re: Win32 rename()/unlink() questions (Mike Mascari <mascarm@mascari.com>) |
| Список | pgsql-hackers |
Mike Mascari wrote: > Its interesting in that it allows for Unix-style rename() and > unlink() behavior, but with a race condition. Without Stephan's > two MoveFile() trick and the FILE_SHARE_DELETE flag, however, > the result would be Access Denied. Are the places in the backend > that use rename() and unlink() renaming and unlinking files that > are only opened for a brief moment by other backends? Yes, those files are only opened for a brief moment. They are not held open. -- 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 по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера