Re: How to determine date / time of last postmaster restart - Mailing list pgsql-admin

From Peter Eisentraut
Subject Re: How to determine date / time of last postmaster restart
Date
Msg-id 200509072001.01559.peter_e@gmx.net
Whole thread Raw
In response to How to determine date / time of last postmaster restart  (adey <adey11@gmail.com>)
List pgsql-admin
adey wrote:
> Please let me know if there is a way to determine when the Postmaster
> was last restarted?

If you have configured your server log to contain timestamps, that is
your best bet to look.  In any case, the server log will tell when the
last shutdown was, so you can at least narrow down the time frame.  You
can also use pg_controldata to check the time of last change to
pg_control (which is changed when the server starts).

--
Peter Eisentraut
http://developer.postgresql.org/~petere/

pgsql-admin by date:

Previous
From: Tom Lane
Date:
Subject: Re: pg_dump error... Follow up
Next
From: Alvaro Herrera
Date:
Subject: Re: [HACKERS] How to determine date / time of last postmaster restart