diff --git a/doc/src/sgml/libpq.sgml b/doc/src/sgml/libpq.sgml index 4703309254..09bfcbbec3 100644 --- a/doc/src/sgml/libpq.sgml +++ b/doc/src/sgml/libpq.sgml @@ -1222,6 +1222,24 @@ postgresql://%2Fvar%2Flib%2Fpostgresql/dbname + + replication + + + This option determines if a backend should use the replication + protocol. A Boolean value of true tells the backend + to go into walsender mode, wherein a small set of replication commands + can be issued instead of SQL statements. Only the simple query protocol + can be used in walsender mode. Passing database + as the value instructs walsender to connect to the database specified + in the dbname parameter, which will allow the + connection to be used for logical replication from that database. + For a detailed description about the replication protocol, consult + . + + + + sslmode diff --git a/doc/src/sgml/protocol.sgml b/doc/src/sgml/protocol.sgml index 8174e3defa..b85a3edda9 100644 --- a/doc/src/sgml/protocol.sgml +++ b/doc/src/sgml/protocol.sgml @@ -1630,15 +1630,9 @@ supported at the moment is tls-unique, defined in RFC 5929. To initiate streaming replication, the frontend sends the -replication parameter in the startup message. A Boolean value -of true tells the backend to go into walsender mode, wherein a -small set of replication commands can be issued instead of SQL statements. Only -the simple query protocol can be used in walsender mode. -Replication commands are logged in the server log when + connection parameter in the +startup message. Replication commands are logged in the server log when is enabled. -Passing database as the value instructs walsender to connect to -the database specified in the dbname parameter, which will allow -the connection to be used for logical replication from that database. For the purpose of testing replication commands, you can make a replication