Re: In which catalog postgres Instance Crash time recorded ?

Поиск
Список
Период
Сортировка
От Raghavendra
Тема Re: In which catalog postgres Instance Crash time recorded ?
Дата
Msg-id CA+h6AhiM2rCbJU5zd0Dk6AJUtCB-3SXpHyj1gGGnCBqtvi-hTQ@mail.gmail.com
обсуждение исходный текст
Ответ на Re: In which catalog postgres Instance Crash time recorded ?  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: In which catalog postgres Instance Crash time recorded ?  (Tom Lane <tgl@sss.pgh.pa.us>)
Список 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 по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: In which catalog postgres Instance Crash time recorded ?
Следующее
От: "Gauthier, Dave"
Дата:
Сообщение: pg_dump of a v8.3.4 -> v9.0.1