django1/django/db
Malcolm Tredinnick 536ccd1134 More fixing of PostgreSQL < 8.2 problems with the psycopg2 backend.
Affects the postgresql_psycopg2 backend only. We now don't use the
"RETURNING" syntax in SQL INSERT statements unless it's required by the
autocommit behaviour. This fixes an edge-case that could cause crashes
with earlier PostgreSQL versions, but the broader problem remains to be
fixed (which is #10509).

Fixed #10467. Refs #10509.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@10065 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-16 00:34:58 +00:00
..
backends More fixing of PostgreSQL < 8.2 problems with the psycopg2 backend. 2009-03-16 00:34:58 +00:00
models Use plain model.Manager, or suitable proxy, for model saving. 2009-03-15 03:41:33 +00:00
__init__.py Improved the error message in case of an invalid DATABASE_BACKEND to ignore '.svn' directories in displaying the list of valid backends 2009-03-13 04:45:11 +00:00
transaction.py Fixed #3460 -- Added an ability to enable true autocommit for psycopg2 backend. 2009-03-11 07:06:50 +00:00