-
- Downloads
Add current WAL end (as seen by walsender, ie, GetWriteRecPtr() result)
and current server clock time to SR data messages. These are not currently used on the slave side but seem likely to be useful in future, and it'd be better not to change the SR protocol after release. Per discussion. Also do some minor code review and cleanup on walsender.c, and improve the protocol documentation.
Showing
- doc/src/sgml/protocol.sgml 168 additions, 115 deletionsdoc/src/sgml/protocol.sgml
- src/backend/replication/walreceiver.c 9 additions, 8 deletionssrc/backend/replication/walreceiver.c
- src/backend/replication/walsender.c 105 additions, 83 deletionssrc/backend/replication/walsender.c
- src/include/replication/walprotocol.h 53 additions, 0 deletionssrc/include/replication/walprotocol.h
- src/include/replication/walreceiver.h 2 additions, 1 deletionsrc/include/replication/walreceiver.h
Loading
Please register or sign in to comment