Re: [COMMITTERS] pgsql: Fix a couple of bugs in win32 shmem name generation: * Don't cut
В списке pgsql-hackers по дате отправления:
| От | Magnus Hagander |
|---|---|
| Тема | Re: [COMMITTERS] pgsql: Fix a couple of bugs in win32 shmem name generation: * Don't cut |
| Дата | |
| Msg-id | 486F401A.8010700@hagander.net обсуждение исходный текст |
| Ответ на | Re: [COMMITTERS] pgsql: Fix a couple of bugs in win32 shmem name generation: * Don't cut (Alvaro Herrera <alvherre@commandprompt.com>) |
| Список | pgsql-hackers |
Alvaro Herrera wrote: > Magnus Hagander wrote: >> Tom Lane wrote: > >>> According to what you just told me, the original coding is storing the >>> name in a "local namespace", which presumably means it won't conflict >>> anyway. Ergo, the existing coding is simply broken and there's nothing >>> we can do about it. >> Local namespace = Session local, not process local. So it would properly >> protect against two processes started in the same session. One session >> is, for example, an interactive login. But not if they were started by >> different users, since they'd be in different sessions. > > But those different users would not have access to the same set of > files, so it wouldn't work anyway, right? Depends on what permissions you set on the directory, obviously.... Default ones depend on windows version and where in the filesystem they go. //Magnus
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера