Updates for PG 9.0

Eric Soroos <eric-sourceforge-ZhMf/o/[email protected]> Mon, 22 Aug 2011 15:51:23 -0700
Newsgroups gmane.comp.python.db.pypgsql.user
Message-ID <[email protected]>
Hello,

It appears that pyPgSQL has been abandoned and Postgresql is starting to 
pass it by.

I've worked up some changes to the quoting to allow it to use the new to 
9.0 hex encoding
for bytea fields. At the same time, I've changed the string and bytea 
quoting to use
PQescapeStringConn and PQescapeByteaConn so that they properly quote the 
incoming items
based on the connection settings.

Code is at: https://github.com/wiredfool/PyPgSQL

thanks

eric


------------------------------------------------------------------------------
uberSVN's rich system and user administration capabilities and model 
configuration take the hassle out of deploying and managing Subversion and 
the tools developers use with it. Learn more about uberSVN and get a free 
download at:  http://p.sf.net/sfu/wandisco-dev2dev