Re: Patch for Postmaster Uptime (from the TODO)

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: escpg(at)eonomine(dot)com, pgsql-patches(at)postgresql(dot)org
Subject: Re: Patch for Postmaster Uptime (from the TODO)
Date: 2005-02-25 02:48:21
Message-ID: 200502250248.j1P2mLo01697@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

Tom Lane wrote:
> "Eric Crampton" <escpg(at)eonomine(dot)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(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2005-02-25 02:51:55 Re: Where to see the patch queue (was Re: Patch for Postmaster
Previous Message Eric Crampton 2005-02-25 01:54:50 Where to see the patch queue (was Re: Patch for Postmaster Uptime (from the TODO))

Browse pgsql-patches by date

  From Date Subject
Next Message Bruce Momjian 2005-02-25 02:51:55 Re: Where to see the patch queue (was Re: Patch for Postmaster
Previous Message Eric Crampton 2005-02-25 01:54:50 Where to see the patch queue (was Re: Patch for Postmaster Uptime (from the TODO))