[DB-SIG] [ANN] pyPgSQL 2.1 released
Gerhard Häring
haering_postgresql@gmx.de
Thu, 6 Jun 2002 18:29:53 +0200
* Federico Di Gregorio <fog@initd.org> [2002-06-06 18:18 +0200]:
> erm. psycopg has dictfetchXXX methods. but i think is much better
> implement them in python-space, if you really use them a lot. (for
> example, if you have two columns with the same name, psycopg will
> happily overwrite the first one with the second.)
Probably best to raise
ProgrammingError("don't use SELECT * damnit, and go look about\
AS in your SQL book")
;-)
Gerhard
--
mail: gerhard <at> bigfoot <dot> de registered Linux user #64239
web: http://www.cs.fhm.edu/~ifw00065/ OpenPGP public key id AD24C930
public key fingerprint: 3FCC 8700 3012 0A9E B0C9 3667 814B 9CAA AD24 C930
reduce(lambda x,y:x+y,map(lambda x:chr(ord(x)^42),tuple('zS^BED\nX_FOY\x0b')))