From: Peter Eisentraut <peter@eisentraut.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Refactor sending of RowDescription messages in replication proto
Date: Mon, 04 Jul 2022 18:05:01 +0000
Message-ID: <E1o8QRQ-001Bvc-5n@gemulon.postgresql.org> (raw)
Refactor sending of RowDescription messages in replication protocol
Some routines open-coded the construction of RowDescription messages.
Instead, we have support for doing this using tuple descriptors and
DestRemoteSimple, so use that instead.
Reviewed-by: Nathan Bossart <nathandbossart@gmail.com>
Discussion: https://www.postgresql.org/message-id/flat/7e4fdbdc-699c-4cd0-115d-fb78a957fc22@enterprisedb.com
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/2ce648f750a91b04bfa371a8f966703a382fcc97
Modified Files
--------------
src/backend/access/common/tupdesc.c | 9 ++++
src/backend/replication/basebackup_copy.c | 74 ++++++++++---------------------
src/backend/replication/walsender.c | 29 ++++--------
3 files changed, 40 insertions(+), 72 deletions(-)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-committers@postgresql.org
Cc: peter@eisentraut.org
Subject: Re: pgsql: Refactor sending of RowDescription messages in replication proto
In-Reply-To: <E1o8QRQ-001Bvc-5n@gemulon.postgresql.org>
References: <E1o8QRQ-001Bvc-5n@gemulon.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox