]> granicus.if.org Git - postgresql/commit
Make pg_controldata report newest XID with valid commit timestamp
authorFujii Masao <fujii@postgresql.org>
Thu, 24 Sep 2015 14:31:17 +0000 (23:31 +0900)
committerFujii Masao <fujii@postgresql.org>
Thu, 24 Sep 2015 14:31:44 +0000 (23:31 +0900)
commiteac3b3365e6220ce03bc05914c8e7f5430341373
tree2e5327bd4397a5c38f410a55870ebd1a343f49ab
parentef4fccd2b6a60bdf89a4300741028218e36461aa
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
src/bin/pg_controldata/pg_controldata.c
src/bin/pg_resetxlog/pg_resetxlog.c