From c871c49f55e2e1787f1c2d7edeaf0f8f5c876db3 Mon Sep 17 00:00:00 2001 From: Daniele Varrazzo Date: Fri, 24 Feb 2017 16:53:32 +0000 Subject: [PATCH] Dropped reference to "isolation level autocommit" in docs --- doc/src/usage.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/src/usage.rst b/doc/src/usage.rst index 6cb038b6..cde02422 100644 --- a/doc/src/usage.rst +++ b/doc/src/usage.rst @@ -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