Re: timestamp of the last replayed transaction

Поиск
Список
Период
Сортировка
От Dimitri Fontaine
Тема Re: timestamp of the last replayed transaction
Дата
Msg-id m2vd4f4zho.fsf@2ndQuadrant.fr
обсуждение исходный текст
Ответ на timestamp of the last replayed transaction  (Fujii Masao <masao.fujii@gmail.com>)
Ответы Re: timestamp of the last replayed transaction  (Fujii Masao <masao.fujii@gmail.com>)
Список pgsql-hackers
Fujii Masao <masao.fujii@gmail.com> writes:
> After 9.0 release, I've often heard that some people want to know
> how far transactions have been replayed in the standby in timestamp
> rather than LSN. So I'm thinking to include the function which returns
> the timestamp of the last applied transaction (i.e., commit/abort WAL
> record) in the core.
>
> Name: pg_last_replay_xact_timestamp (better name?)
> Return Type: timestamp with time zone
>
> Thought?

How do you want to implement the tracking? Will it look like the
proposal in this thread:
 http://archives.postgresql.org/pgsql-hackers/2010-05/msg01209.php

Regards,
-- 
Dimitri Fontaine
http://2ndQuadrant.fr     PostgreSQL : Expertise, Formation et Support


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

Предыдущее
От: Dimitri Fontaine
Дата:
Сообщение: Re: ALTER OBJECT any_name SET SCHEMA name
Следующее
От: Tom Lane
Дата:
Сообщение: Re: [PATCH] Custom code int(32|64) => text conversions out of performance reasons