pgsql: Make pg_controldata report newest XID with valid commit timestam

From: Fujii Masao <fujii(at)postgresql(dot)org>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Make pg_controldata report newest XID with valid commit timestam
Date: 2015-09-24 14:32:01
Message-ID: E1Zf7Z3-0002Ug-PP@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Make pg_controldata report newest XID with valid commit timestamp

Previously pg_controldata didn't report newestCommitTs and this was
an oversight in commit 73c986a.

Also this patch changes pg_resetxlog so that it uses the same sentences
as pg_controldata does, regarding oldestCommitTs and newestCommitTs,
for the sake of consistency.

Back-patch to 9.5 where track_commit_timestamp was added.

Euler Taveira

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/18d938de7a99d698d33cc3a94507c8fe0a0005ab

Modified Files
--------------
src/bin/pg_controldata/pg_controldata.c | 2 ++
src/bin/pg_resetxlog/pg_resetxlog.c | 4 ++--
2 files changed, 4 insertions(+), 2 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2015-09-24 14:37:33 Re: pgsql: Lower *_freeze_max_age minimum values.
Previous Message Fujii Masao 2015-09-24 13:50:05 Re: [COMMITTERS] pgsql: Add pages deleted from pending list to FSM