Add warning about send_feedback and cursor choice

This commit is contained in:
Chris Wilson 2021-03-15 13:19:35 +00:00 committed by GitHub
parent f469331af5
commit 0b74a6867f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 If the *reply* or *force* parameters are not set, this method will
just update internal structures without sending the feedback message just update internal structures without sending the feedback message
to the server. The library sends feedback message automatically 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 .. versionchanged:: 2.8.3
added the *force* parameter. added the *force* parameter.