Peter Reitsma <[EMAIL PROTECTED]> wrote:
>    Hi,
>     
>    I noticed that the handling of images and attachments changed in 1.7 for
>    Postgresql. It seems that MMBase is looking on the filesystem now for the
>    handle. 

It has been changed because handling of blobs if tricky in postgresql and
the way to do it changes in every version.

Also, incremental backups of your database would actually make sense if you
do it like this, with blobs on disk. (Most blobs would not change, and the
database dump will get considerably smaller)

>    For us this behaviour is undesirable since we don't have nor want acces
>    rights on the file system for the MMBase instance running in production.
>    Is there a way to invoke the 1.6 behaviour and retrieve everything from
>    the database 

You could put an alternative postgresql.xml somewhere under WEB-INF/classes
(Extract it from mmbase.jar, change it to not store blobs on disk, and put
in on the apropriate spot in WEB-INF/classes where it will override the one
in mmbase.jar)

> or is there some documentation on these changes ?

I don't know.


Michiel



-- 
Michiel Meeuwissen 
Mediapark C101 Hilversum  
+31 (0)35 6772979
nl_NL eo_XX en_US
mihxil'
 [] ()

Reply via email to