Re: postgres uptime - Mailing list pgsql-hackers

From Richard Huxton
Subject Re: postgres uptime
Date
Msg-id 4125B32C.4080406@archonet.com
Whole thread Raw
In response to Re: postgres uptime  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: postgres uptime  (Gaetano Mendola <mendola@bigfoot.com>)
List pgsql-hackers
Tom Lane wrote:
> "Marc G. Fournier" <scrappy@postgresql.org> writes:
> 
>>Does anyone have any 'benefits' to implementing such a thing that we can 
>>list?  The cons appear to be easy, what about pros?
> 
> 
> That's exactly what's bugging me --- I have not seen any particularly
> strong defense of why we *should* have this function.
> 
> Your suggestion in another mail of restricting it to superusers would
> eliminate most or all of the security gripes I'm raising.  Whether that
> still leaves it useful to the original suggestor's purpose, I dunno...

If you had a pressing need, couldn't you just hack the startup script(s) 
to insert a timestamp in a suitable table?

Or am I missing something here (as usual)?

--   Richard Huxton  Archonet Ltd


pgsql-hackers by date:

Previous
From: Fabien COELHO
Date:
Subject: Re: tablespace and sequences?
Next
From: Philip Warner
Date:
Subject: Re: tablespace and sequences?