Re: Patch for Postmaster Uptime (from the TODO)

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: Patch for Postmaster Uptime (from the TODO)
Дата
Msg-id 200502250248.j1P2mLo01697@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: Patch for Postmaster Uptime (from the TODO)  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-patches
Tom Lane wrote:
> "Eric Crampton" <escpg@eonomine.com> writes:
> > I noticed in the TODO that there is an item requesting a function which
> > returns the uptime of the postmaster. I've wanted that as well. So, I've
> > added just such a thing: server_start_time(). This function returns the
> > time when the postmaster was started; a simple now() - server_start_time()
> > returns the uptime.
>
> Isn't there one of these in the patch queue already?

Yes.

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

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

Предыдущее
От: Eric Crampton
Дата:
Сообщение: Where to see the patch queue (was Re: Patch for Postmaster Uptime (from the TODO))
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: Where to see the patch queue (was Re: Patch for Postmaster