mirror of
https://github.com/psycopg/psycopg2.git
synced 2024-11-25 18:33:44 +03:00
Dropped reference to "isolation level autocommit" in docs
This commit is contained in:
parent
72f74d1f41
commit
c871c49f55
|
@ -776,8 +776,8 @@ you may decrease this value if you are dealing with huge records.
|
|||
|
||||
Named cursors are usually created :sql:`WITHOUT HOLD`, meaning they live only
|
||||
as long as the current transaction. Trying to fetch from a named cursor after
|
||||
a `~connection.commit()` or to create a named cursor when the `connection`
|
||||
transaction isolation level is set to `AUTOCOMMIT` will result in an exception.
|
||||
a `~connection.commit()` or to create a named cursor when the connection
|
||||
is in `~connection.autocommit` mode will result in an exception.
|
||||
It is possible to create a :sql:`WITH HOLD` cursor by specifying a `!True`
|
||||
value for the `withhold` parameter to `~connection.cursor()` or by setting the
|
||||
`~cursor.withhold` attribute to `!True` before calling `~cursor.execute()` on
|
||||
|
|
Loading…
Reference in New Issue
Block a user