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-0002Uh-PU@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
------
REL9_5_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/eac3b3365e6220ce03bc05914c8e7f5430341373

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