Обсуждение: pgsql: Make pg_controldata report newest XID with valid commit timestam

Поиск
Список
Период
Сортировка

pgsql: Make pg_controldata report newest XID with valid commit timestam

От
Fujii Masao
Дата:
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(-)