From: Gerhard H?r. <gha...@us...> - 2002-10-27 04:14:55
|
Update of /cvsroot/pypgsql/pypgsql/pyPgSQL In directory usw-pr-cvs1:/tmp/cvs-serv9615/pyPgSQL Modified Files: PgSQL.py Log Message: 27OCT2002 gh (This change was actually part of the previous commit, but I forgot to document it appropriately:) Always set the displaysize field of cursor.description to -1. PostgreSQL 7.3 doesn't provide this information any more and it's pretty useless nowadays that we've mostly left line printers beyond us. Index: PgSQL.py =================================================================== RCS file: /cvsroot/pypgsql/pypgsql/pyPgSQL/PgSQL.py,v retrieving revision 1.18 retrieving revision 1.19 diff -C2 -d -r1.18 -r1.19 *** PgSQL.py 27 Oct 2002 04:01:41 -0000 1.18 --- PgSQL.py 27 Oct 2002 04:14:52 -0000 1.19 *************** *** 33,36 **** --- 33,41 ---- # - Convert ROWID to PgInt8 instead of PgInt4 (the origi- | # nal behaviour led to overflow errors.) | + # - Always set the displaysize field of | + # cursor.description to -1. PostgreSQL 7.3 doesn't | + # provide this information any more and it's pretty | + # useless nowadays that we've mostly left line printers | + # beyond us. | # 02OCT2002 gh - Only support mxDateTime 2.x and give useful error | # message if import fails. | |