Refactor sending of DataRow messages in replication protocol Some routines open-coded the construction of DataRow messages. Use TupOutputState struct and associated functions instead, which was already done in some places.
SendTimeLineHistory() is a bit more complicated and isn't converted by this. 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/16d52fc89dbe8394ed318521e076f08fd2e4bf8c Modified Files -------------- src/backend/access/common/printsimple.c | 11 +++++ src/backend/replication/basebackup_copy.c | 69 ++++++++++--------------------- 2 files changed, 33 insertions(+), 47 deletions(-)
