Re: need a method to ping a running database

Поиск
Список
Период
Сортировка
От Erik Price
Тема Re: need a method to ping a running database
Дата
Msg-id 3EE870E4.4030103@ptc.com
обсуждение исходный текст
Ответ на need a method to ping a running database  (Travis Hume <travis.hume@tenzing.com>)
Список pgsql-general

Travis Hume wrote:

> to determine if the database had been started.  There are a couple of
> problems with this method.  It seems that if you start postgresql and
> then issue a "kill -9" on the postmaster processes a .pid file is left
> behind (understandable), but then if you run "pg_ctl status" it will
> immediately report that the database is running and give you the pid
> number and whatever else.

I've seen this message at the bottom of some emails to this list:


---------------------------(end of broadcast)---------------------------
TIP 4: Don't 'kill -9' the postmaster






Erik


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