[HACKERS] question about replication docs - Mailing list pgsql-hackers

From Dave Cramer
Subject [HACKERS] question about replication docs
Date
Msg-id CADK3HHL0c9Fjh418-GSffDiV++65E_uQqqRRNtJ3aFq5z1n-HQ@mail.gmail.com
Whole thread Raw
Responses Re: [HACKERS] question about replication docs  (Peter Eisentraut <peter.eisentraut@2ndquadrant.com>)
List pgsql-hackers
The following makes an explicit reference to the simple query protocol being the only protocol allowed in walsender mode. It is my understanding this is true for logical replication as well ??


51.3. Streaming Replication Protocol
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 log_replication_commands 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.


Dave Cramer

pgsql-hackers by date:

Previous
From: Petr Jelinek
Date:
Subject: Re: [HACKERS] logical replication - still unstable after all thesemonths
Next
From: Vik Fearing
Date:
Subject: Re: [HACKERS] Inconsistent syntax for NumericOnly grammar production