Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
Thread:
Lists: pgsql-hackerspgsql-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

pgsql-hackers by date

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

pgsql-patches by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group