Re: [HACKERS] postmaster.pid

Поиск
Список
Период
Сортировка
От Tatsuo Ishii
Тема Re: [HACKERS] postmaster.pid
Дата
Msg-id 19991204114131G.t-ishii@sra.co.jp
обсуждение исходный текст
Ответ на Re: [HACKERS] postmaster.pid  (Evan Simpson <evan@4-am.com>)
Список pgsql-hackers
> 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).

Thanks for the suggestion. I have already modified postmaster.c so
that it could remove postmaster.pid if the file is bogus. Will commit
soon.
--
Tatsuo Ishii



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Tatsuo Ishii
Дата:
Сообщение: Re: [HACKERS] postmaster.pid
Следующее
От: Tatsuo Ishii
Дата:
Сообщение: Re: [HACKERS] postmaster.pid