[PyGreSQL] Quoting input for INSERT into a bytea field (modified)

Kavous Bojnourdi kavoos at issn.org
Tue Sep 7 08:05:20 EDT 2004


Hi,

This is the charlie's path, but with PQescapeBytea function, and a new 
function, pgbytea_unescape to unescape bytea.

Thanks to charlie for the patch, it helped me to write this one.

Sincerly,

Bojnourdi Kaikavous
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PyGreSQL-bytea.patch
Type: text/x-diff
Size: 1956 bytes
Desc: not available
Url : http://mailman.vex.net/pipermail/pygresql/attachments/20040907/d836c326/PyGreSQL-bytea.bin


More information about the PyGreSQL mailing list