Re: [HACKERS] pid file for postmaster?

Поиск
Список
Период
Сортировка
От Tatsuo Ishii
Тема Re: [HACKERS] pid file for postmaster?
Дата
Msg-id 19991124153831T.t-ishii@sra.co.jp
обсуждение исходный текст
Ответ на Re: [HACKERS] pid file for postmaster?  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: [HACKERS] pid file for postmaster?  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
From: Tom Lane <tgl@sss.pgh.pa.us>
> Tatsuo Ishii <t-ishii@sra.co.jp> writes:
> > It would be nice if postmaster has its own pid file to send signals to
> > it. I think the pid file could be placed under $PGDATA. Opinions?
> 
> Yes, that's been discussed before, and I think it's even got an entry
> on the TODO list.  If you've got time to tackle it now, great!
> 
> $PGDATA seems like the right place to put the file, since we can only
> have one active postmaster at a time in a database directory.

Right.

> I assume you'll also create a script that sends SIGTERM or other
> requested signal to the postmaster, using this file?

Of course:-) I'm thinking about to make an apachectl-like script.
--
Tatsuo Ishii


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: [HACKERS] pid file for postmaster?
Следующее
От: Tom Lane
Дата:
Сообщение: Re: [HACKERS] pid file for postmaster?