﻿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
10476	Fix(?) model insert handling when autcommit=True for PostgreSQL <= 8.1	Malcolm Tredinnick	Malcolm Tredinnick	"Need to wrap some isolation level changes around inserts when using older PostgreSQL versions so that we can reliably return the last insert ID. This is necessary because we use that value to set the primary key attribute on the model instance and there's potentially no other way to get the information for some models (with no other unique constraints).

When this is fixed, `settings.DATABASE_OPTIONS[autocommit] = True` can be an option again for those server versions."	Bug	closed	Database layer (models, ORM)	dev	Normal	wontfix		richard.davies@…	Accepted	1	0	0	0	0	0
