Re: Postmaster Uptime

Поиск
Список
Период
Сортировка
От Lee Kindness
Тема Re: Postmaster Uptime
Дата
Msg-id 15761.33846.87637.786443@kelvin.csl.co.uk
обсуждение исходный текст
Ответ на Re: Postmaster Uptime  (Lee Kindness <lkindness@csl.co.uk>)
Ответы Re: Postmaster Uptime  ("Tim Knowles" <tim@ametco.co.uk>)
Re: Postmaster Uptime  ("Tim Knowles" <tim@ametco.co.uk>)
Список pgsql-general
Lee Kindness writes:
 > As others have said it is certainly do-able, but you're going to have
 > to do it! In the past you've got the uptime using ps - what you need
 > to do is wrap this into a script and add it to a database as a
 > function (using pg/tcl, pg/perlu, whatever). Or you could do it as a C
 > function...

Actually pl/sh would be the obvious choice:

 http://www.ca.postgresql.org/~petere/plsh.html

Lee.

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

Предыдущее
От: Lee Kindness
Дата:
Сообщение: Re: Postmaster Uptime
Следующее
От: "Tim Knowles"
Дата:
Сообщение: Re: Postmaster Uptime