pgsql: Refactor sending of RowDescription messages in replication proto - Mailing list pgsql-committers

From Peter Eisentraut
Subject pgsql: Refactor sending of RowDescription messages in replication proto
Date
Msg-id E1o8QRQ-001Bvc-5n@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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(-)


pgsql-committers by date:

Previous
From: Alvaro Herrera
Date:
Subject: pgsql: Implement List support for TransactionId
Next
From: Michael Paquier
Date:
Subject: Re: pgsql: Change timeline field of IDENTIFY_SYSTEM to int8