From: | Peter Eisentraut <peter(at)eisentraut(dot)org> |
---|---|
To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
Subject: | pgsql: Refactor sending of RowDescription messages in replication proto |
Date: | 2022-07-04 18:05:01 |
Message-ID: | E1o8QRQ-001Bvc-5n@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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(at)gmail(dot)com>
Discussion: https://www.postgresql.org/message-id/flat/7e4fdbdc-699c-4cd0-115d-fb78a957fc22(at)enterprisedb(dot)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(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Peter Eisentraut | 2022-07-04 19:40:49 | Re: pgsql: Change timeline field of IDENTIFY_SYSTEM to int8 |
Previous Message | Tom Lane | 2022-07-04 17:32:43 | Re: pgsql: Change timeline field of IDENTIFY_SYSTEM to int8 |