Re: [GENERAL] plpythonu and bytea

2005-07-02 Thread Michael Fuhr
On Sat, Jul 02, 2005 at 04:49:23PM -0400, Greg Steffensen wrote: > > Hey, I'm trying to write some plpython procedures that read binary data from > images on the disk and store it in bytea fields. I'm basically trying to > write a plpython procedure that accepts a varchar and returns a bytea, wit

[GENERAL] plpythonu and bytea

2005-07-02 Thread Greg Steffensen
Hey, I'm trying to write some plpython procedures that read binary data from images on the disk and store it in bytea fields.  I'm basically trying to write a plpython procedure that accepts a varchar and returns a bytea, with these procedure contents: data = ""> return data (The actual procedure