Re: Patch for Postmaster Uptime (from the TODO) - Mailing list pgsql-patches

From Bruce Momjian
Subject Re: Patch for Postmaster Uptime (from the TODO)
Date
Msg-id 200502250248.j1P2mLo01697@candle.pha.pa.us
Whole thread Raw
In response to Re: Patch for Postmaster Uptime (from the TODO)  (Tom Lane <tgl@sss.pgh.pa.us>)
List 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 by date:

Previous
From: Eric Crampton
Date:
Subject: Where to see the patch queue (was Re: Patch for Postmaster Uptime (from the TODO))
Next
From: Bruce Momjian
Date:
Subject: Re: Where to see the patch queue (was Re: Patch for Postmaster