Re: The function of lock file named ".s.PGSQL..lock"
on Linux?
В списке pgsql-admin по дате отправления:
| От | Greg Smith |
|---|---|
| Тема | Re: The function of lock file named ".s.PGSQL. |
| Дата | |
| Msg-id | 4C61F3FF.1080303@2ndquadrant.com обсуждение исходный текст |
| Ответ на |
Re: The function of lock file named ".s.PGSQL. |
| Ответы |
Re: The function of lock file named ".s.PGSQL. |
| Список | pgsql-admin |
Tom Lane wrote: > We can't portably lock the socket file itself, so we make a separate > ordinary file for locking purposes. > It looks to me like the fact that the .lock file is created is only documented in src/backend/utils/init/miscinit.c , and even there the reason why (what you wrote above) isn't mentioned. Seems like noting this file is created in the unix_socket_directory entry of the docs, and the rationale for why in the source code, would make a useful improvement. Anybody want to write a little documentation patch? -- Greg Smith 2ndQuadrant US Baltimore, MD PostgreSQL Training, Services and Support greg@2ndQuadrant.com www.2ndQuadrant.us
В списке pgsql-admin по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера