Documenting that queries can be run over replication protocol

Started by Chris Traversover 7 years ago2 messageshackers
Jump to latest
#1Chris Travers
chris.travers@adjust.com

Hi;

In the process of building some tooling based on replication we discovered
that PostgreSQL 10 uses COPY to populate the initial table on logical
replication, see commit 7c4f52409a8c7d85ed169bbbc1f6092274d03920

This is not currently documented. Attached is a patch which adds that
documentation to the logical replication part of the protocol section.

--
Best Regards,
Chris Travers
Database Administrator

Tel: +49 162 9037 210 | Skype: einhverfr | www.adjust.com
Saarbrücker Straße 37a, 10405 Berlin

Attachments:

logical_replication_sql_doc.diffapplication/octet-stream; name=logical_replication_sql_doc.diffDownload+7-0
#2Peter Eisentraut
peter_e@gmx.net
In reply to: Chris Travers (#1)
Re: Documenting that queries can be run over replication protocol

On 24/07/2018 09:54, Chris Travers wrote:

In the process of building some tooling based on replication we
discovered that PostgreSQL 10 uses COPY to populate the initial table on
logical replication, see commit 7c4f52409a8c7d85ed169bbbc1f6092274d03920

This is not currently documented.  Attached is a patch which adds that
documentation to the logical replication part of the protocol section.

It already says earlier in that same section:

"In logical replication walsender mode, the replication commands shown
below as well as normal SQL commands can be issued."

--
Peter Eisentraut http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services