Re: In which catalog postgres Instance Crash time recorded ? - Mailing list pgsql-general

From Raghavendra
Subject Re: In which catalog postgres Instance Crash time recorded ?
Date
Msg-id CA+h6AhiM2rCbJU5zd0Dk6AJUtCB-3SXpHyj1gGGnCBqtvi-hTQ@mail.gmail.com
Whole thread Raw
In response to Re: In which catalog postgres Instance Crash time recorded ?  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: In which catalog postgres Instance Crash time recorded ?  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general
On Wed, Nov 23, 2011 at 9:01 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
Alex Shulgin <alex.shulgin@gmail.com> writes:
> How would it read that from a catalog if the cluster didn't recover
> from the crash yet?

> I'd think it's looking at last-modified timestamps of some of the
> PGDATA files instead.

No, it's looking at a last-update timestamp field in pg_control.

                       regards, tom lane

Thanks Tom.

So, Is it a approximate time of crash on the basis of last-modified timestamp of pg_control file ? 

--Raghav

pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: In which catalog postgres Instance Crash time recorded ?
Next
From: "Gauthier, Dave"
Date:
Subject: pg_dump of a v8.3.4 -> v9.0.1