Could we store this as an environment variable that gets set once
postmaster leaves "start up" mode?
Robert Treat
On Tue, 2002-09-24 at 10:47, Bruce Momjian wrote:
> 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
>
> ---------------------------(end of broadcast)---------------------------
> TIP 6: Have you searched our list archives?
>
> http://archives.postgresql.org