[DB-SIG] DB-API unittests

Federico Di Gregorio fog at initd.org
Thu Dec 1 09:49:43 CET 2005


Il giorno gio, 01/12/2005 alle 02.22 +0000, Andrew Chambers ha scritto:
> - Evidently there is ambiguity about the way that dates should be entered.
>   pgdb - curs.execute("select '%s'" % Date(2005, 01, 01))
>   psycopg - curs.execute("select %s" % Date(2005, 01, 01))
>   Don't know about the others - I don't have them installed

Ambiguity? IMHO, having to quote in the query string is obviously the
wrong one.

federico

-- 
Federico Di Gregorio                         http://people.initd.org/fog
Debian GNU/Linux Developer                                fog at debian.org
INIT.D Developer                                           fog at initd.org
                           Don't dream it. Be it. -- Dr. Frank'n'further
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Questa parte del messaggio =?ISO-8859-1?Q?=E8?= firmata
Url : http://mail.python.org/pipermail/db-sig/attachments/20051201/27cb6464/attachment.pgp


More information about the DB-SIG mailing list