Andrew Klaassen schrieb:
I attempted to use a bytea column, but got an "OperationalError" on
insert.  Do I have to use some kind of special escaping function
instead of just the usual parameter-based escaping?  Will the data
get munged if I do?

You need these functions:
http://www.pygresql.org/pg.html#escape-bytea-escape-binary-data-for-use-within-sql-as-type-bytea
http://www.pygresql.org/pg.html#unescape-bytea-unescape-bytea-data-that-has-been-retrieved-as-text

-- Christoph
_______________________________________________
PyGreSQL mailing list
[email protected]
http://mailman.vex.net/mailman/listinfo/pygresql

Reply via email to