From 5eec11f2322a2c0cc772d8edee71f02d67040f0a Mon Sep 17 00:00:00 2001 From: Alexander Kukushkin Date: Mon, 6 May 2019 15:42:37 +0200 Subject: [PATCH] Improve docs --- doc/src/extras.rst | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/doc/src/extras.rst b/doc/src/extras.rst index 68c9e3ac..aa316d2e 100644 --- a/doc/src/extras.rst +++ b/doc/src/extras.rst @@ -345,6 +345,9 @@ The individual messages in the replication stream are represented by `read_message()` in case of :ref:`asynchronous connection `. + .. versionchanged:: 2.8.3 + added the *status_interval* parameter. + .. |START_REPLICATION| replace:: :sql:`START_REPLICATION` .. _START_REPLICATION: https://www.postgresql.org/docs/current/static/protocol-replication.html @@ -359,6 +362,9 @@ The individual messages in the replication stream are represented by performed on messages received from the server. :param status_interval: time between feedback packets sent to the server + .. versionchanged:: 2.8.3 + added the *status_interval* parameter. + .. method:: consume_stream(consume, keepalive_interval=None) @@ -417,6 +423,9 @@ The individual messages in the replication stream are represented by retains all the WAL segments that might be needed to stream the changes via all of the currently open replication slots. + .. versionchanged:: 2.8.3 + changed the default value of the *keepalive_interval* parameter to `!None`. + .. method:: send_feedback(write_lsn=0, flush_lsn=0, apply_lsn=0, reply=False, force=False) :param write_lsn: a LSN position up to which the client has written the data locally @@ -438,6 +447,9 @@ The individual messages in the replication stream are represented by to the server. The library sends feedback message automatically when *status_interval* timeout is reached. + .. versionchanged:: 2.8.3 + added the *force* parameter. + Low-level replication cursor methods for :ref:`asynchronous connection ` operation. @@ -493,6 +505,8 @@ The individual messages in the replication stream are represented by A `~datetime` object representing the timestamp at the moment when the last feedback message sent to the server. + .. versionadded:: 2.8.3 + .. attribute:: wal_end LSN position of the current end of WAL on the server at the