Re: timestamp of the last replayed transaction

Поиск
Список
Период
Сортировка
От Fujii Masao
Тема Re: timestamp of the last replayed transaction
Дата
Msg-id AANLkTimc1-29eiwWbFCZohmXYOOPG1r0Z4k8Y=baKwzR@mail.gmail.com
обсуждение исходный текст
Ответ на Re: timestamp of the last replayed transaction  (Robert Haas <robertmhaas@gmail.com>)
Ответы Re: timestamp of the last replayed transaction  (Robert Haas <robertmhaas@gmail.com>)
Список pgsql-hackers
On Sat, Nov 6, 2010 at 9:58 AM, Robert Haas <robertmhaas@gmail.com> wrote:
> This looks good, but how about adding:
>
> if (!RecoveryInProgress())
>    PG_RETURN_NULL();
>
> Otherwise, if we're in Hot Standby mode for a while and then enter
> normal running, wouldn't this still return a (stale) value?

Yes, but isn't that (stale) value useful to check how far WAL records
have been replayed, *after failover*?

Regards,

--
Fujii Masao
NIPPON TELEGRAPH AND TELEPHONE CORPORATION
NTT Open Source Software Center


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

Предыдущее
От: Pavel Stehule
Дата:
Сообщение: Re: SQL2011 and writeable CTE
Следующее
От: Fujii Masao
Дата:
Сообщение: Re: How can we tell how far behind the standby is?