Thread: pgsql: Make pg_controldata report newest XID with valid commit timestam

pgsql: Make pg_controldata report newest XID with valid commit timestam

From
Fujii Masao
Date:
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(-)