Re: [ADMIN] Why does the WAL writer sit on completed segments (on Windows)?
В списке pgsql-admin по дате отправления:
| От | Tom Lane |
|---|---|
| Тема | Re: [ADMIN] Why does the WAL writer sit on completed segments (on Windows)? |
| Дата | |
| Msg-id | 7418.1492448152@sss.pgh.pa.us обсуждение |
| Ответ на | Re: [ADMIN] Why does the WAL writer sit on completed segments (on Windows)? (Magnus Hagander <magnus@hagander.net>) |
| Ответы |
Re: [ADMIN] Why does the WAL writer sit on completed segments (onWindows)?
|
| Список | pgsql-admin |
Magnus Hagander <magnus@hagander.net> writes: > But all our files are opened with (FILE_SHARE_READ | FILE_SHARE_WRITE | > FILE_SHARE_DELETE). So shouldn't this allow 7zip (or whatever) to open up > the file, regardless of us holding it open? (Looking at > https://msdn.microsoft.com/en-us/library/windows/desktop/aa363874(v=vs.85).aspx > at least that's how I read it?) My understanding of what Christian wrote is that 7zip is using flags that specifically disallow "sharing". The flags we use will allow other programs to open the file(s) with default options, but a program that is deliberately trying to be the sole user of the file can still notice our opens. regards, tom lane
В списке pgsql-admin по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера