Send new protocol keepalive messages to standby servers.
Simon Riggs <simon@2ndQuadrant.com>
Send new protocol keepalive messages to standby servers. Allows streaming replication users to calculate transfer latency and apply delay via internal functions. No external functions yet.
Files
| Path | Change | +/− |
|---|---|---|
| doc/src/sgml/protocol.sgml | modified | +48 −0 |
| src/backend/access/transam/xlog.c | modified | +43 −0 |
| src/backend/replication/walreceiver.c | modified | +46 −1 |
| src/backend/replication/walreceiverfuncs.c | modified | +63 −0 |
| src/backend/replication/walsender.c | modified | +27 −15 |
| src/include/access/xlog.h | modified | +1 −0 |
| src/include/replication/walprotocol.h | modified | +22 −0 |
| src/include/replication/walreceiver.h | modified | +8 −0 |