Make walreceiver send a reply after receiving data but before flushing it.

Robert Haas <rhaas@postgresql.org>

Commit: 30f6136f28a6bf9eedcbf41038d5b021169bc0b9
Author: Robert Haas <rhaas@postgresql.org>
Date: 2011-03-25T15:28:16Z
Releases: 9.1.0
Make walreceiver send a reply after receiving data but before flushing it.

It originally worked this way, but was changed by commit
a8a8a3e0965201df88bdfdff08f50e5c06c552b7, since which time it's been impossible
for walreceiver to ever send a reply with write_location and flush_location
set to different values.

Files

PathChange+/−
src/backend/replication/walreceiver.c modified +3 −0