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 <[email protected]> Discussion: https://www.postgresql.org/message-id/flat/[email protected] 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(-)
