Re: logical replication protocol

From: Tatsuo Ishii <ishii(at)sraoss(dot)co(dot)jp>
To: scott_ribe(at)killerbytes(dot)com
Cc: pgsql-general(at)lists(dot)postgresql(dot)org
Subject: Re: logical replication protocol
Date: 2019-12-24 13:12:10
Message-ID: 20191224.221210.499294190676997233.t-ishii@sraoss.co.jp
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

> 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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Scott Ribe 2019-12-24 14:22:14 Re: logical replication protocol
Previous Message M Tarkeshwar Rao 2019-12-24 10:32:10 Postgres cursor taking 2 hrs to update the table