Re: postgres uptime

Поиск
Список
Период
Сортировка
От Andreas Pflug
Тема Re: postgres uptime
Дата
Msg-id 41264AFC.5080501@pse-consulting.de
обсуждение исходный текст
Ответ на Re: postgres uptime  (Robert Treat <xzilla@users.sourceforge.net>)
Ответы Re: postgres uptime  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-hackers
Robert Treat wrote:

> 
> If we do add this function, I guarantee you that you'll see it added to
> phppgadmin and pgadmin, because it helps make these remote
> administration tools more complete. 

:-)
Guess what I just implemented...

pg_postmaster_starttime() RETURNS timestamp, currently implemented in 
the admin module for win32  using GetProcessTimes(PostmasterHandle).

What's the equivalent for posix? Interpreting popen("ps...") might get 
messy.

Regards,
Andreas





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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: All three packages ...
Следующее
От: Gaetano Mendola
Дата:
Сообщение: 7.4.5 on RH 2.1AS