1
0
mirror of https://github.com/postgres/postgres.git synced 2025-08-06 18:42:54 +03:00

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.
This commit is contained in:
Simon Riggs
2013-02-04 10:29:22 +00:00
parent 62e666400d
commit bd56e74127
3 changed files with 39 additions and 14 deletions

View File

@@ -1682,8 +1682,10 @@ The commands accepted in walsender mode are:
</term>
<listitem>
<para>
The standby's current xmin. This may be 0, if the standby does not
support feedback, or is not yet in Hot Standby state.
The standby's current xmin. This may be 0, if the standby is
sending notification that Hot Standby feedback will no longer
be sent on this connection. Later non-zero messages may
reinitiate the feedback mechanism.
</para>
</listitem>
</varlistentry>