Re: [GENERAL] bytea / large object and image

2006-11-04 Thread Joshua D. Drake
Raymond O'Donnell wrote: > On 4 Nov 2006 at 18:24, Alain Roger wrote: > >> However, i've read that before i must restore the image by exporting >> them to local (on server) file. > > You can use bytea type to store binary data directly in the database - > if it's any use to you, I can send you

Re: [GENERAL] bytea / large object and image

2006-11-04 Thread Tomas Vondra
> Hi, > > I create a table with some large object (ref: OID) to store some images. > When my PHP will display some data, it will also display the images > stored as OID. > > However, i've read that before i must restore the image by exporting > them to local (on server) file. I'm not sure what y

Re: [GENERAL] bytea / large object and image

2006-11-04 Thread Raymond O'Donnell
On 4 Nov 2006 at 18:24, Alain Roger wrote: > However, i've read that before i must restore the image by exporting > them to local (on server) file. You can use bytea type to store binary data directly in the database - if it's any use to you, I can send you some ASP code that does this. There

[GENERAL] bytea / large object and image

2006-11-04 Thread Alain Roger
Hi,I create a table with some large object (ref: OID) to store some images.When my PHP will display some data, it will also display the images stored as OID.However, i've read that before i must restore the image by exporting them to local (on server) file. isn't it easier in this case, to simply s