[PyGreSQL] Large objects

Andrew Klaassen clawsoon at yahoo.com
Fri Aug 21 15:30:15 EDT 2009


--- On Wed, 8/19/09, Christoph Zwerschke <cito at online.de> wrote:

> As an alternative to large objects,
> you can also use columns of type bytea. PyGreSQL has
> functions for escaping and unescaping these.

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?

Thanks.

Andrew




      __________________________________________________________________
Looking for the perfect gift? Give the gift of Flickr! 

http://www.flickr.com/gift/


More information about the PyGreSQL mailing list