[Zope] Storing Images in PostgreSQL

Andreas Heckel andreas@easyleading.org
Tue, 23 Apr 2002 13:32:16 +0200


nico@beehive.de wrote:
> 
> Hello,
> 
> I am trying to store images in a PostgreSQL 7.2 database using the Psycopg
> database adapter, running Zope 2.5.0 on redhat linux.
> I found a tip at
> http://lists.initd.org/pipermail/psycopg/2001-June/000200.html and tried
> it out. Unfortunately I get an error like "Can't parse object
> 'Gif123/'..."
> 
> Is there any documentation on how to store images in a PostgreSQL database
> from Zope ?

You need a postgres DA that supports commands for handling postgres
Large Objects (loimport,getlo,unlink ...)

As far as I know popy tries to store binary data into a bytea field ...
don't know if it works.  

-- 
_______________________________________________________________________
Andreas Heckel                                  andreas@easyleading.org