[PyGreSQL] pgdb.Binary doesn't escape binary bug and patch

2009-10-22 Thread Dan McDonald
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello, I believe I have found a bug in the DB-API 2 interface provided by PyGreSQL 4.0. If you try to do something like: some_curs.execute(INSERT INTO bin_table (bin_column) VALUES

[PyGreSQL] [CVS] Change to pygresql: changelog.txt

2009-10-22 Thread Christoph Zwerschke
Update of /usr/cvs/Public/pygresql/docs In directory druid.net:/tmp/cvs-serv3551/docs Modified Files: changelog.txt Log Message: Escape and unescape Binary objects (as suggested by Dan McDonald). To see the diffs for this commit:

[PyGreSQL] [CVS] Change to pygresql: TEST_PyGreSQL_dbapi20.py, dbapi20.py, pgdb.py

2009-10-22 Thread Christoph Zwerschke
Update of /usr/cvs/Public/pygresql/module In directory druid.net:/tmp/cvs-serv3551/module Modified Files: TEST_PyGreSQL_dbapi20.py dbapi20.py pgdb.py Log Message: Escape and unescape Binary objects (as suggested by Dan McDonald). To see the diffs for this commit: