| От | Evan Simpson |
|---|---|
| Тема | Re: [HACKERS] postmaster.pid |
| Дата | |
| Msg-id | 384801D3.8FB691E6@4-am.com обсуждение исходный текст |
| Ответ на | postmaster.pid (Tatsuo Ishii <t-ishii@sra.co.jp>) |
| Ответы |
Re: [HACKERS] postmaster.pid
|
| Список | pgsql-hackers |
Tatsuo Ishii wrote: > I have committed changes to postmaster.c. Now it creates a file called > "postmaster.pid" under $PGDATA, which holds postmaster's process > id. If the file has already existed, postmaster won't start. Do you just test to see if the file exists? If so, I would suggest actually reading the pid and checking to see if the process is still running. That way we don't have to 'rm postmaster.pid' if the postmaster dies abnormally (Netscape for Linux has this problem). Cheers, Evan @ 4-am
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера