Re: Postmaster Uptime - Mailing list pgsql-general

From Lee Kindness
Subject Re: Postmaster Uptime
Date
Msg-id 15761.33846.87637.786443@kelvin.csl.co.uk
Whole thread Raw
In response to Re: Postmaster Uptime  (Lee Kindness <lkindness@csl.co.uk>)
Responses Re: Postmaster Uptime  ("Tim Knowles" <tim@ametco.co.uk>)
Re: Postmaster Uptime  ("Tim Knowles" <tim@ametco.co.uk>)
List pgsql-general
Lee Kindness writes:
 > As others have said it is certainly do-able, but you're going to have
 > to do it! In the past you've got the uptime using ps - what you need
 > to do is wrap this into a script and add it to a database as a
 > function (using pg/tcl, pg/perlu, whatever). Or you could do it as a C
 > function...

Actually pl/sh would be the obvious choice:

 http://www.ca.postgresql.org/~petere/plsh.html

Lee.

pgsql-general by date:

Previous
From: Lee Kindness
Date:
Subject: Re: Postmaster Uptime
Next
From: "Tim Knowles"
Date:
Subject: Re: Postmaster Uptime