]> granicus.if.org Git - postgresql/commitdiff
Document the "replication" option in StartupMessage.
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>
Mon, 10 Apr 2017 11:08:20 +0000 (14:08 +0300)
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>
Mon, 10 Apr 2017 11:08:20 +0000 (14:08 +0300)
It is documented in the Streaming Replication Protocol section, but was
missing from the list of options in StartupMessage description.

doc/src/sgml/protocol.sgml

index 9d46d7411331c5703b378b8a95adea9e6e1ed63f..0d825e285864a42c438cfbac9f2deb197899750b 100644 (file)
@@ -5138,6 +5138,21 @@ StartupMessage (F)
 </para>
 </listitem>
 </varlistentry>
+<varlistentry>
+<term>
+                <literal>replication</>
+</term>
+<listitem>
+<para>
+                Used to connect in streaming replication mode, where a small
+                set of replication commands can be issued instead of SQL
+                statements. Value can be <literal>true</>,
+                <literal>false</>, or  <literal>database</>, and the default
+                is <literal>false</>. See
+                <xref linkend="protocol-replication"> for details.
+</para>
+</listitem>
+</varlistentry>
 </variablelist>
 
                 In addition to the above, any run-time parameter that can be