On Fri, May 16, 2014 at 11:07:42AM -0400, skeeved wrote: > Looks like you have an invalid connection string: > conn=psycopg2.connect("dbname='busard_test' user='laurent' host='localhost' password='cactus’") > Try removing the double quotes, they are obscuring the parameter names and values: > conn=psycopg2.connect(dbname=‘busard_test', user=‘laurent', host=‘localhost', password='cactus’) > You were also missing some punctuation between the parameters. He was using the DSN-as-string variant, not the keyword one. Karsten -- GPG key ID E4071346 @ gpg-keyserver.de E167 67FD A291 2BEA 73BD 4537 78B9 A9F9 E407 1346