Skip site navigation (1) Skip section navigation (2)

Re: timestamp of the last replayed transaction

From: Dimitri Fontaine <dimitri(at)2ndQuadrant(dot)fr>
To: Fujii Masao <masao(dot)fujii(at)gmail(dot)com>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: timestamp of the last replayed transaction
Date: 2010-11-02 13:38:27
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-hackers
Fujii Masao <masao(dot)fujii(at)gmail(dot)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:

Dimitri Fontaine     PostgreSQL : Expertise, Formation et Support

In response to


pgsql-hackers by date

Next:From: Tom LaneDate: 2010-11-02 14:04:10
Subject: Re: [PATCH] Custom code int(32|64) => text conversions out of performance reasons
Previous:From: Dimitri FontaineDate: 2010-11-02 13:03:44
Subject: Re: ALTER OBJECT any_name SET SCHEMA name

Privacy Policy | About PostgreSQL
Copyright © 1996-2018 The PostgreSQL Global Development Group