Re: R: Re: [ADMIN] Import image into postgresql database

2011-07-13 Thread David Hornsby
The best way I found is to just treat the image as a BLOB. Create a column with type OID and do a lo_import and an lo_export as demonstrated in this page. http://www.postgresql.org/files/documentation/books/aw_pgsql/node96.html -David. On 7/1/11 8:30 AM, francescobocca...@libero.it wrote: Th

R: Re: [ADMIN] Import image into postgresql database

2011-07-01 Thread francescobocca...@libero.it
Thanks, Francesco >Messaggio originale >Da: gabriele.bartol...@2ndquadrant.it >Data: 01/07/2011 12.27 >A: >Cc: >Ogg: Re: [ADMIN] Import image into postgresql database > > Ciao Francesco, > > On Fri, 1 Jul 2011 12:13:33 +0200 (CEST), "francescobocca...@libero.it" > wrote: >> I tried to