Re: PQping command line tool

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: PQping command line tool
Дата
Msg-id 5874.1349278879@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: PQping command line tool  (Bruce Momjian <bruce@momjian.us>)
Список pgsql-hackers
Bruce Momjian <bruce@momjian.us> writes:
> I don't see any tool using PQping except pg_ctl.  Perhaps we should
> modify "pg_ctl status" to use PQping.  Right now is only checks the
> postmaster.pid file, and checks to see that the pid is a running
> postmaster.  What it currently doesn't do is to check if the server is
> accepting connections with PQping(), like we do for "pg_ctl -w start".

The thing about pg_ctl is that it requires access to the data directory
(and still would, in the variant you propose).  If we were going to do
something like what Phil suggests then I think it ought to be something
usable remotely.
        regards, tom lane



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

Предыдущее
От: Phil Sorber
Дата:
Сообщение: Re: PQping command line tool
Следующее
От: Pavel Stehule
Дата:
Сообщение: Re: PQping command line tool