﻿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
3205	Postgresql bug introduced in rev 4244?	jeffreyz@…	Adrian Holovaty	"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.  "	defect	closed	Database layer (models, ORM)	0.95	critical	fixed			Unreviewed	0	0	0	0	0	0
