Re: Postmaster Uptime - Mailing list pgsql-general

From Bruce Momjian
Subject Re: Postmaster Uptime
Date
Msg-id 200209241447.g8OElhv26781@candle.pha.pa.us
Whole thread Raw
In response to Postmaster Uptime  ("Tim Knowles" <tim@ametco.co.uk>)
Responses Re: Postmaster Uptime
List pgsql-general
Tim Knowles wrote:
>
> Hi All,
>
> Is their any way to find out the uptime of the postmaster via a SQL
> function?

No, not really.  You can do a 'ps' on the postmaster pid and run that
somehow from pltcl.

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

pgsql-general by date:

Previous
From: Roland Roberts
Date:
Subject: Re: OID order = INSERT order?
Next
From: "Andy Kriger"
Date:
Subject: grant/revoke for alter/drop?