logical replication protocol

Started by Scott Ribeover 6 years ago3 messagesgeneral
Jump to latest
#1Scott Ribe
scott_ribe@killerbytes.com

I haven't been able to find documentation on the actual messages used in the logical replication protocol ('k' & 'w', lower case). I've figured things out mostly by reading pg_recvlogical.c, but "Read The Fine Source" doesn't seem in line with the way PG usually does it ;-)

Did I miss a doc somewhere in my searches???

#2Tatsuo Ishii
t-ishii@sra.co.jp
In reply to: Scott Ribe (#1)
Re: logical replication protocol

I haven't been able to find documentation on the actual messages used in the logical replication protocol ('k' & 'w', lower case). I've figured things out mostly by reading pg_recvlogical.c, but "Read The Fine Source" doesn't seem in line with the way PG usually does it ;-)

Did I miss a doc somewhere in my searches???

The logical replication protocol builds on the primitives of the
physical streaming replication protocol as stated in the document. The
explanation of 'k' and 'w' messages can be found in the "Streaming
Replication Protocol" section.

Best regards,
--
Tatsuo Ishii
SRA OSS, Inc. Japan
English: http://www.sraoss.co.jp/index_en.php
Japanese:http://www.sraoss.co.jp

#3Scott Ribe
scott_ribe@killerbytes.com
In reply to: Tatsuo Ishii (#2)
Re: logical replication protocol

On Dec 24, 2019, at 6:12 AM, Tatsuo Ishii <ishii@sraoss.co.jp> wrote:

The logical replication protocol builds on the primitives of the
physical streaming replication protocol as stated in the document. The
explanation of 'k' and 'w' messages can be found in the "Streaming
Replication Protocol" section.

That's what I missed--thanks