Doc patch for Logical Replication Message Formats (PG14)

From: Brar Piening <brar(at)gmx(dot)de>
To: pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: Doc patch for Logical Replication Message Formats (PG14)
Date: 2021-06-21 06:56:13
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

Hello Hackers,
while amending Npgsql to account for the Logical Streaming Replication
Protocol changes in PostgreSQL 14 I stumbled upon two documentation
inaccuracies in the Logical Replication Message Formats documentation
that have been introduced (or rather omitted) with the recent changes to
allow pgoutput to send logical decoding messages
and to allow logical replication to transfer data in binary format

1. The content of the logical decoding message in the 'Message' message
is prefixed with a length field (Int32) which isn't documented yet.
2. The TupleData may now contain the byte 'b' as indicator for binary
data which isn't documented yet. See

The attached documentation patch fixes both.

Best regards,


Attachment Content-Type Size
protocol-logicalrep-message-formats-pg14-fix.patch text/plain 823 bytes


Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Eisentraut 2021-06-21 07:23:09 Add index OID macro argument to DECLARE_INDEX
Previous Message Peter Smith 2021-06-21 06:37:35 Re: [HACKERS] logical decoding of two-phase transactions