Commit 76dbb461 authored by Robert Haas's avatar Robert Haas

Protocol documentation for Hot Standby feedback messages.

parent 02b1f84e
...@@ -1471,9 +1471,9 @@ The commands accepted in walsender mode are: ...@@ -1471,9 +1471,9 @@ The commands accepted in walsender mode are:
</para> </para>
<para> <para>
The receiving process can send a status update back to the sender at The receiving process can send replies back to the sender at any time,
any time, using the following message format (also in the payload of using one of the following message formats (also in the payload of a
a CopyData message): CopyData message):
</para> </para>
<para> <para>
...@@ -1545,6 +1545,63 @@ The commands accepted in walsender mode are: ...@@ -1545,6 +1545,63 @@ The commands accepted in walsender mode are:
</varlistentry> </varlistentry>
</variablelist> </variablelist>
</para> </para>
<para>
<variablelist>
<varlistentry>
<term>
Hot Standby feedback message (F)
</term>
<listitem>
<para>
<variablelist>
<varlistentry>
<term>
Byte1('h')
</term>
<listitem>
<para>
Identifies the message as a Hot Standby feedback message.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>
Byte8
</term>
<listitem>
<para>
The server's system clock at the time of transmission,
given in TimestampTz format.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>
Byte4
</term>
<listitem>
<para>
The standby's current xmin.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>
Byte4
</term>
<listitem>
<para>
The standby's current epoch.
</para>
</listitem>
</varlistentry>
</variablelist>
</para>
</listitem>
</varlistentry>
</variablelist>
</para>
</listitem> </listitem>
</varlistentry> </varlistentry>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment