Re: how is pitr replay interruption time determined?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: how is pitr replay interruption time determined?
Дата
Msg-id 10268.1188256622@sss.pgh.pa.us
обсуждение исходный текст
Ответ на how is pitr replay interruption time determined?  (Robert Treat <xzilla@users.sourceforge.net>)
Ответы Re: how is pitr replay interruption time determined?  (Robert Treat <xzilla@users.sourceforge.net>)
Список pgsql-admin
Robert Treat <xzilla@users.sourceforge.net> writes:
> LOG:  database system was interrupted while in recovery at log time 2007-07-30
> 19:17:37 EDT

> I am curious how this date is determined by postgres/pitr?

It's the update timestamp in pg_control, which in essence is going to be
the completion time of the last checkpoint.  If the crash was during WAL
recovery, as it seems to be, it'd be the time the last "restart"
checkpoint was made.

I'm not sure why the phrase "at log time" is used.  It looks like
whoever wrote the message thought that the timestamp would be one taken
from the WAL data being replayed, but that's not what I see the code
doing.

            regards, tom lane

В списке pgsql-admin по дате отправления:

Предыдущее
От: "Daniel Muñoz"
Дата:
Сообщение: Re: Problems connecting to postgres using JDBC Driver.
Следующее
От:
Дата:
Сообщение: 转发: Copy cmd error