﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
21452	Connections may be set to autocommit under PostgreSQL when AUTOCOMMIT is set to False.	Aymeric Augustin	Aymeric Augustin	"django/db/backends/postgresql_psycopg2/base.py contains this code:
{{{
            if conn_tz != tz:
                # Set the time zone in autocommit mode (see #17062)
                self.set_autocommit(True)
                self.connection.cursor().execute(
                        self.ops.set_time_zone_sql(), [tz])
}}}

This will leave the connection in autocommit mode regardless of the AUTOCOMMIT setting for the database connection.

I haven't confirmed the bug; this report is just based on my understanding of the code."	Bug	closed	Database layer (models, ORM)	1.6	Release blocker	fixed			Accepted	0	0	0	0	0	0
