• Heikki Linnakangas's avatar
    Fix Hot Standby feedback sending when streaming busily. · a472ae1e
    Heikki Linnakangas authored
    Commit 6f60fdd7 accidentally removed a
    call to XLogWalRcvSendHSFeedback() after flushing received WAL to disk.
    The consequence is that when walsender is busy streaming WAL, it doesn't
    send HS feedback messages. One is sent if nothing is received from the
    master for 100ms, but if there's a steady stream of WAL, it never happens.
    
    Backpatch to 9.3.
    
    Andres Freund and Amit Kapila
    a472ae1e
walreceiver.c 34.3 KB