pgsql: Reset master xmin when hot_standby_feedback disabled.

From: Simon Riggs <simon(at)2ndQuadrant(dot)com>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Reset master xmin when hot_standby_feedback disabled.
Date: 2014-07-15 13:41:08
Message-ID: E1X72yi-0003yW-3q@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers pgsql-hackers

Reset master xmin when hot_standby_feedback disabled.
If walsender has xmin of standby then ensure we
reset the value to 0 when we change from hot_standby_feedback=on
to hot_standby_feedback=off.

Branch
------
REL9_2_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/2dde11a632d3fe309b5af5480d01a0a3028f7f64

Modified Files
--------------
doc/src/sgml/protocol.sgml | 5 +++-
src/backend/replication/walreceiver.c | 45 +++++++++++++++++++++++++--------
src/backend/replication/walsender.c | 5 +++-
3 files changed, 42 insertions(+), 13 deletions(-)

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Simon Riggs 2014-07-15 13:46:14 pgsql: Reset master xmin when hot_standby_feedback disabled.
Previous Message Magnus Hagander 2014-07-15 13:12:53 pgsql: Include SSL compression status in psql banner and connection log

Browse pgsql-hackers by date

  From Date Subject
Next Message Magnus Hagander 2014-07-15 13:45:54 Re: Audit of logout
Previous Message Magnus Hagander 2014-07-15 13:31:02 Re: TODO : Allow parallel cores to be used by vacuumdb [ WIP ]