pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Bruce Momjian <pgman@candle.pha.pa.us>
To: Alvaro Herrera <alvherre@alvh.no-ip.org>
Cc: Jim C. Nasby <jnasby@pervasive.com>
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Cc: adey11@gmail.com
Cc: pgsql-admin@postgresql.org
Cc: pgsql-hackers@postgresql.org
Subject: Re: [HACKERS] How to determine date / time of last postmaster
Date: Thu, 22 Sep 2005 23:05:49 -0400 (EDT)
Message-ID: <200509230305.j8N35nj26410@candle.pha.pa.us> (raw)
In-Reply-To: <20050907192953.GJ5953@surnet.cl>

Alvaro Herrera wrote:
> On Wed, Sep 07, 2005 at 12:38:44AM -0500, Jim C. Nasby wrote:
> > On Tue, Sep 06, 2005 at 08:22:34PM -0400, Tom Lane wrote:
> > > PG 8.1 will have a function to return postmaster start time, but not
> > > database reset time.  I wonder if this is misdefined --- if you are
> > > trying to measure database uptime, the last reset would be more
> > > appropriate to track.
> > 
> > Is it too late to add a function that returns last reset time as well?
> > That would cover all bases and force some less confusing naming.
> 
> This would be one more vote in favour of initdb before next beta.
> (pltemplate being the other one.)  We should set a threshold in order to
> be able to decide ...

Added to TODO:

	* Add function to report the time of the most recent server
	  reload

-- 
  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



view thread (8+ messages)

Message-ID: <200509230305.j8N35nj26410@candle.pha.pa.us>
Permalink:  ../200509230305.j8N35nj26410@candle.pha.pa.us/
Also on:    postgresql.org/message-id/200509230305.j8N35nj26410@candle.pha.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: pgman@candle.pha.pa.us, alvherre@alvh.no-ip.org, jnasby@pervasive.com, tgl@sss.pgh.pa.us, adey11@gmail.com, pgsql-hackers@postgresql.org
  Subject: Re: [HACKERS] How to determine date / time of last postmaster
  In-Reply-To: <200509230305.j8N35nj26410@candle.pha.pa.us>
  References: <20050907192953.GJ5953@surnet.cl> <200509230305.j8N35nj26410@candle.pha.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox