question about replication docs

From: Dave Cramer <davecramer(at)gmail(dot)com>
To: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: question about replication docs
Date: 2017-05-29 13:11:38
Message-ID: CADK3HHL0c9Fjh418-GSffDiV++65E_uQqqRRNtJ3aFq5z1n-HQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Vik Fearing 2017-05-29 13:31:15 Re: Inconsistent syntax for NumericOnly grammar production
Previous Message Petr Jelinek 2017-05-29 11:14:21 Re: logical replication - still unstable after all these months