On Tue, Jul 26, 2011 at 12:49 PM, Владимир Апарин <sinopteek(at)gmail(dot)com> wrote:
> I want to use autocommiting in my code, i wrote code, that working on windows.
> But when i try to run him on linux, i recieve error
> AttributeError: 'psycopg2._psycopg.connection' object has no attribute 'autocommit'
> system: OpenSuSe 11.4x64.
> packet python-psycopg2-2.4-1.1 from obs://build.opensuse.org/devel:languages:python (official repo)
Autocommit was introduced in psycopg 2.4.2. In previous version you
have to use conn.set_isolation_level(0).
In response to
psycopg by date
|Next:||From: Scott Rohde||Date: 2011-07-29 17:01:45|
|Subject: psycopg2 and python built with ucs2|
|Previous:||From: Владимир Апарин||Date: 2011-07-26 11:49:11|
|Subject: Fwd: autocommit linux error|