From: Jim C. Nasby <jnasby@pervasive.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Alvaro Herrera <alvherre@alvh.no-ip.org>
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 restart
Date: Thu, 8 Sep 2005 12:18:23 -0500
Message-ID: <20050908171823.GB28361@pervasive.com> (raw)
In-Reply-To: <2022.1126142575@sss.pgh.pa.us>
References: <1c66bda805090616596a199871@mail.gmail.com>
<22041.1126052554@sss.pgh.pa.us>
<20050907053844.GC60481@pervasive.com>
<20050907192953.GJ5953@surnet.cl>
<2022.1126142575@sss.pgh.pa.us>
On Wed, Sep 07, 2005 at 09:22:55PM -0400, Tom Lane wrote:
> Alvaro Herrera <alvherre@alvh.no-ip.org> writes:
> > On Wed, Sep 07, 2005 at 12:38:44AM -0500, Jim C. Nasby wrote:
> >> 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 ...
>
> It looks like we'll be initdb'ing to add pltemplate, so if someone wants
> to submit a proposed patch for this ...
I might be able to do some of it; where would I need to capture reload
time?
Also, I'm thinking of leaving pg_postmaster_start_time as-is and adding
pg_postmaster_reload_time. Thoughts?
For reference, here's the original commit:
http://archives.postgresql.org/pgsql-committers/2005-06/msg00181.php
--
Jim C. Nasby, Sr. Engineering Consultant jnasby@pervasive.com
Pervasive Software http://pervasive.com work: 512-231-6117
vcard: http://jim.nasby.net/pervasive.vcf cell: 512-569-9461
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: jnasby@pervasive.com, tgl@sss.pgh.pa.us, alvherre@alvh.no-ip.org, adey11@gmail.com, pgsql-hackers@postgresql.org
Subject: Re: [HACKERS] How to determine date / time of last postmaster restart
In-Reply-To: <20050908171823.GB28361@pervasive.com>
References: <1c66bda805090616596a199871@mail.gmail.com> <22041.1126052554@sss.pgh.pa.us> <20050907053844.GC60481@pervasive.com> <20050907192953.GJ5953@surnet.cl> <2022.1126142575@sss.pgh.pa.us> <20050908171823.GB28361@pervasive.com>
* 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