Add a message type header to the CopyData messages sent from primary
Heikki Linnakangas <heikki.linnakangas@iki.fi>
Add a message type header to the CopyData messages sent from primary to standby in streaming replication. While we only have one message type at the moment, adding a message type header makes this easier to extend.
Files
| Path | Change | +/− |
|---|---|---|
| doc/src/sgml/protocol.sgml | modified | +57 −4 |
| src/backend/replication/libpqwalreceiver/libpqwalreceiver.c | modified | +15 −19 |
| src/backend/replication/walreceiver.c | modified | +40 −9 |
| src/backend/replication/walsender.c | modified | +2 −1 |
| src/include/replication/walreceiver.h | modified | +3 −2 |