Make pg_controldata report newest XID with valid commit timestamp

Fujii Masao <fujii@postgresql.org>

Commit: eac3b3365e6220ce03bc05914c8e7f5430341373
Author: Fujii Masao <fujii@postgresql.org>
Date: 2015-09-24T14:31:44Z
Releases: 9.5.0
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

Files