﻿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
852	psycopg.ProgrammingError exceptions leave the connection to the DB in an unusable state	j.quigley@…	Adrian Holovaty	"I am getting the following error while trying to save an object. I was following the tutorial but creating my own structure. The database tables where all created okay with ""django-admin.py sql"". 

I did get an insert error before as I didn't put any defaults in for the integer columns, but after fixing the model that went away.




>>> u.save()
Traceback (most recent call last):
  File ""<stdin>"", line 1, in ?
  File ""/usr/lib/python2.4/site-packages/Django-0.90-py2.4.egg/django/utils/functional.py"", line 3, in _curried
    return args[0](*(args[1:]+moreargs), **dict(kwargs.items() + morekwargs.items()))
  File ""/usr/lib/python2.4/site-packages/Django-0.90-py2.4.egg/django/core/meta/__init__.py"", line 782, in method_save
    cursor = db.db.cursor()
  File ""/usr/lib/python2.4/site-packages/Django-0.90-py2.4.egg/django/core/db/backends/postgresql.py"", line 35, in cursor
    cursor.execute(""SET TIME ZONE %s"", [TIME_ZONE])
psycopg.ProgrammingError: ERROR:  current transaction is aborted, commands ignored until end of transaction block

SET TIME ZONE 'Europe/Madrid'
"	defect	closed	Database layer (models, ORM)		normal	wontfix			Unreviewed	0	0	0	0	0	0
