Fixed notice about new wal_end attribute being on the cursor

This commit is contained in:
Daniele Varrazzo 2019-04-01 10:40:06 +01:00
parent b76ff2fc33
commit 813ca30953
2 changed files with 3 additions and 3 deletions

2
NEWS
View File

@ -22,7 +22,7 @@ New features:
C structures to Python and interact with libpq via ctypes (:ticket:`#782`). C structures to Python and interact with libpq via ctypes (:ticket:`#782`).
- `~psycopg2.sql.Identifier` can represent qualified names in SQL composition - `~psycopg2.sql.Identifier` can represent qualified names in SQL composition
(:ticket:`#732`). (:ticket:`#732`).
- Added `!ReplicationMessage`.\ `~psycopg2.extras.ReplicationMessage.wal_end` - Added `!ReplicationCursor`.\ `~psycopg2.extras.ReplicationCursor.wal_end`
attribute (:ticket:`#800`). attribute (:ticket:`#800`).
- Added *fetch* parameter to `~psycopg2.extras.execute_values()` function - Added *fetch* parameter to `~psycopg2.extras.execute_values()` function
(:ticket:`#813`). (:ticket:`#813`).

View File

@ -208,8 +208,6 @@ The individual messages in the replication stream are represented by
LSN position of the current end of WAL on the server. LSN position of the current end of WAL on the server.
.. versionadded:: 2.8
.. attribute:: send_time .. attribute:: send_time
A `~datetime` object representing the server timestamp at the moment A `~datetime` object representing the server timestamp at the moment
@ -489,6 +487,8 @@ The individual messages in the replication stream are represented by
moment of last data or keepalive message received from the moment of last data or keepalive message received from the
server. server.
.. versionadded:: 2.8
An actual example of asynchronous operation might look like this:: An actual example of asynchronous operation might look like this::
from select import select from select import select