diff options
author | Chris Wilson <qris@users.noreply.github.com> | 2021-03-15 13:19:35 +0000 |
---|---|---|
committer | Daniele Varrazzo <daniele.varrazzo@gmail.com> | 2021-05-20 16:33:00 +0200 |
commit | 45599b2716eb7fbbce19da219c4e63e630395b05 (patch) | |
tree | aeabf4c8e2393126027ed5c9a4c2fcc3aa1d1aef /doc/src | |
parent | 787a7b90ae87abed42a74d2c7e517bd6cca0c716 (diff) | |
download | psycopg2-45599b2716eb7fbbce19da219c4e63e630395b05.tar.gz |
Add warning about send_feedback and cursor choice
Diffstat (limited to 'doc/src')
-rw-r--r-- | doc/src/extras.rst | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/doc/src/extras.rst b/doc/src/extras.rst index eed049c..96f801b 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. |