Refactor sending of DataRow messages in replication protocol
Peter Eisentraut <peter@eisentraut.org>
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 <nathandbossart@gmail.com> Discussion: https://www.postgresql.org/message-id/flat/7e4fdbdc-699c-4cd0-115d-fb78a957fc22@enterprisedb.com
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/access/common/printsimple.c | modified | +11 −0 |
| src/backend/replication/basebackup_copy.c | modified | +22 −47 |
Discussion
- refactor some protocol message sending in walsender and basebackup 3 messages · 2022-06-23 → 2022-07-06