@@ -1635,16 +1635,27 @@ that cannot support <literal>tls-unique</literal> for some reason.
1635
1635
1636
1636
<para>
1637
1637
To initiate streaming replication, the frontend sends the
1638
- <literal>replication</literal> parameter in the startup message. A Boolean value
1639
- of <literal>true</literal> tells the backend to go into walsender mode, wherein a
1640
- small set of replication commands can be issued instead of SQL statements. Only
1641
- the simple query protocol can be used in walsender mode.
1642
- Replication commands are logged in the server log when
1643
- <xref linkend="guc-log-replication-commands"/> is enabled.
1644
- Passing <literal>database</literal> as the value instructs walsender to connect to
1645
- the database specified in the <literal>dbname</literal> parameter, which will allow
1646
- the connection to be used for logical replication from that database.
1638
+ <literal>replication</literal> parameter in the startup message. A Boolean
1639
+ value of <literal>true</literal> (or <literal>on</literal>,
1640
+ <literal>yes</literal>, <literal>1</literal>) tells the backend to go into
1641
+ physical replication walsender mode, wherein a small set of replication
1642
+ commands, shown below, can be issued instead of SQL statements.
1643
+ </para>
1644
+
1645
+ <para>
1646
+ Passing <literal>database</literal> as the value for the
1647
+ <literal>replication</literal> parameter instructs the backend to go into
1648
+ logical replication walsender mode, connecting to the database specified in
1649
+ the <literal>dbname</literal> parameter. In logical replication walsender
1650
+ mode, the replication commands shown below as well as normal SQL commands can
1651
+ be issued.
1652
+ </para>
1653
+
1654
+ <para>
1655
+ In either physical replication or logical replication walsender mode, only the
1656
+ simple query protocol can be used.
1647
1657
</para>
1658
+
1648
1659
<para>
1649
1660
For the purpose of testing replication commands, you can make a replication
1650
1661
connection via <application>psql</application> or any other <literal>libpq</literal>-using
@@ -1659,7 +1670,12 @@ psql "dbname=postgres replication=database" -c "IDENTIFY_SYSTEM;"
1659
1670
</para>
1660
1671
1661
1672
<para>
1662
- The commands accepted in walsender mode are:
1673
+ Replication commands are logged in the server log when
1674
+ <xref linkend="guc-log-replication-commands"/> is enabled.
1675
+ </para>
1676
+
1677
+ <para>
1678
+ The commands accepted in replication mode are:
1663
1679
<variablelist>
1664
1680
<varlistentry>
1665
1681
<term><literal>IDENTIFY_SYSTEM</literal>
0 commit comments