From: Gerhard H?r. <gha...@us...> - 2002-07-01 02:09:08
|
Update of /cvsroot/pypgsql/pypgsql/pyPgSQL In directory usw-pr-cvs1:/tmp/cvs-serv19197/pyPgSQL Modified Files: PgSQL.py Log Message: 01JUL2002 gh Ensure proper SQL-quoting of long ints. Index: PgSQL.py =================================================================== RCS file: /cvsroot/pypgsql/pypgsql/pyPgSQL/PgSQL.py,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** PgSQL.py 15 May 2002 16:24:18 -0000 1.10 --- PgSQL.py 1 Jul 2002 02:09:05 -0000 1.11 *************** *** 1644,1647 **** --- 1644,1650 ---- return PgQuoteString(value) + if type(value) is LongType: + return str(value) + return repr(value) |