pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Fujii Masao <fujii@postgresql.org>
To: pgsql-committers@postgresql.org
Subject: pgsql: Make pg_controldata report newest XID with valid commit timestam
Date: Thu, 24 Sep 2015 14:32:01 +0000
Message-ID: <E1Zf7Z3-0002Ug-PP@gemulon.postgresql.org> (raw)
List-Unsubscribe:  <mailto:majordomo@postgresql.org?body=unsub%20pgsql-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
------
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(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


view thread (2+ messages)

Message-ID: <E1Zf7Z3-0002Ug-PP@gemulon.postgresql.org>
Permalink:  ../E1Zf7Z3-0002Ug-PP@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1Zf7Z3-0002Ug-PP@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: fujii@postgresql.org
  Subject: Re: pgsql: Make pg_controldata report newest XID with valid commit timestam
  In-Reply-To: <E1Zf7Z3-0002Ug-PP@gemulon.postgresql.org>
  References: <E1Zf7Z3-0002Ug-PP@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox