From 2e4d3e65e36df97ee4a7f443ccb02807be28fad6 Mon Sep 17 00:00:00 2001 From: Mike Bayer Date: Fri, 30 May 2014 12:27:42 -0400 Subject: - changelog + docs for pg8000 transaction isolation level --- lib/sqlalchemy/dialects/postgresql/pg8000.py | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) (limited to 'lib/sqlalchemy/dialects/postgresql/pg8000.py') diff --git a/lib/sqlalchemy/dialects/postgresql/pg8000.py b/lib/sqlalchemy/dialects/postgresql/pg8000.py index edb1afc39..8ed7c9423 100644 --- a/lib/sqlalchemy/dialects/postgresql/pg8000.py +++ b/lib/sqlalchemy/dialects/postgresql/pg8000.py @@ -25,6 +25,30 @@ in postgresql.conf). Set the "encoding" parameter on create_engine(), to the same as the client encoding, usually "utf-8". +.. _pg8000_isolation_level: + +pg8000 Transaction Isolation Level +------------------------------------- + +The pg8000 dialect offers the same isolation level settings as that +of the :ref:`psycopg2 ` dialect: + +* ``READ COMMITTED`` +* ``READ UNCOMMITTED`` +* ``REPEATABLE READ`` +* ``SERIALIZABLE`` +* ``AUTOCOMMIT`` + +.. versionadded:: 0.9.5 support for AUTOCOMMIT isolation level when using + pg8000. + +.. seealso:: + + :ref:`postgresql_isolation_level` + + :ref:`psycopg2_isolation_level` + + """ from ... import util, exc import decimal -- cgit v1.2.1