From 0b74a6867fc6b5d9cdeb5ef2c9d4d21b49716d32 Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Mon, 15 Mar 2021 13:19:35 +0000 Subject: [PATCH] Add warning about send_feedback and cursor choice --- doc/src/extras.rst | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/doc/src/extras.rst b/doc/src/extras.rst index eed049c7..96f801ba 100644 --- a/doc/src/extras.rst +++ b/doc/src/extras.rst @@ -445,7 +445,9 @@ The individual messages in the replication stream are represented by If the *reply* or *force* parameters are not set, this method will just update internal structures without sending the feedback message to the server. The library sends feedback message automatically - when *status_interval* timeout is reached. + when *status_interval* timeout is reached. For this to work, you must + call `send_feedback()` on the same Cursor that you called `start_replication()` + on (the one in `message.cursor`) or your feedback will be lost. .. versionchanged:: 2.8.3 added the *force* parameter.