Allow bidirectional copy messages in streaming replication mode.
Robert Haas <rhaas@postgresql.org>
Allow bidirectional copy messages in streaming replication mode. Fujii Masao. Review by Alvaro Herrera, Tom Lane, and myself.
Files
| Path | Change | +/− |
|---|---|---|
| doc/src/sgml/libpq.sgml | modified | +10 −0 |
| doc/src/sgml/protocol.sgml | modified | +92 −6 |
| src/backend/replication/libpqwalreceiver/libpqwalreceiver.c | modified | +20 −2 |
| src/backend/replication/walreceiver.c | modified | +2 −1 |
| src/backend/replication/walsender.c | modified | +2 −2 |
| src/include/replication/walreceiver.h | modified | +3 −0 |
| src/interfaces/libpq/fe-exec.c | modified | +23 −4 |
| src/interfaces/libpq/fe-protocol2.c | modified | +4 −0 |
| src/interfaces/libpq/fe-protocol3.c | modified | +13 −5 |
| src/interfaces/libpq/libpq-fe.h | modified | +1 −0 |
| src/interfaces/libpq/libpq-int.h | modified | +2 −1 |