Postgresql bug introduced in rev 4244?
|Reported by:||Owned by:||Adrian Holovaty|
|Component:||Database layer (models, ORM)||Version:||0.95|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
I have encountered a runtime error when executing:
cursor.executemany( ... )
with a PostgreSQL 8.1 backend (psycopg 1 adaptor).
This error occurs with rev 4253 of django/trunk. I noticed that there was a recent change to the postgresql backend code in rev 4244, so I reverted to rev 4243. This fixed the problem, indicating that the bug may have been introduced in rev 4244 (in django/db/backends/postgresql/base.py ?). A summary of the error is:
Request Method: POST Request URL: http://www.spor-development.vm.ntnu.no/spor/subscription/ Exception Type: TypeError Exception Value: arg 2 must be a dictionary or tuple sequence Exception Location: /usr/lib/python2.4/site-packages/django/db/backends/postgresql/base.py in executemany, line 47
I will attach a copy of the web browser window to give the full details. As I am running on Linux, this will be a postscript file.