logo       

Re: query: msg#00076

python.db.psycopg.devel

Subject: Re: query

Il giorno ven, 17/03/2006 alle 21.02 +1000, Timothy Smith ha scritto:
> > curpg.execute("""SELECT till_name,till_float
> > FROM till_config
> > JOIN transactions
> > USING (id)
> > WHERE for_venue = %s""", (Venue,))
> >

Interesting. Try the following code, please:

import psycopg2.extensions

print Venue
print type(Venue)
print psycopg2.extensions.adapt(Venue)

and post the results.

federico

--
Federico Di Gregorio http://people.initd.org/fog
Debian GNU/Linux Developer
fog-8fiUuRrzOP0dnm+yROfE0A@xxxxxxxxxxxxxxxx
INIT.D Developer
fog-NGVKUo/i/6DYtjvyW6yDsg@xxxxxxxxxxxxxxxx
Su grappe nessuno è innocente. -- Natale Titotto

Attachment: signature.asc
Description: Questa parte del messaggio =?ISO-8859-1?Q?=E8?= firmata

_______________________________________________
Psycopg mailing list
Psycopg-IAPFreCvJWPBWskQ1e/+sw@xxxxxxxxxxxxxxxx
http://lists.initd.org/mailman/listinfo/psycopg
<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise