Turning off hot_standby_feedback - Mailing list pgsql-hackers

From Simon Riggs
Subject Turning off hot_standby_feedback
Date
Msg-id CA+U5nMLQ1+UCqB2gb6kJ06R45NNn3-gGZsOn=nfmV4FqDoE-Xw@mail.gmail.com
Whole thread Raw
Responses Re: Turning off hot_standby_feedback
List pgsql-hackers
There is a bug in hot_standby_feedback that causes the xmin of the
walsender process to not be reset when hot_standby_feedback is turned
off after it had previously sent at least one feedback message.

Clearly, that is a bad thing and deserves backpatching to 9.1, unless
I hear otherwise real soon.

Attached patch sends an immediate feedback message if it is turned off
on the standby. No protocol changes, just changes to how message is
handled and when it is sent.

--
 Simon Riggs                   http://www.2ndQuadrant.com/
 PostgreSQL Development, 24x7 Support, Training & Services

Attachment

pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: ALTER command reworks
Next
From: Simon Riggs
Date:
Subject: Re: [COMMITTERS] pgsql: Mark vacuum_defer_cleanup_age as PGC_POSTMASTER.