bytea / large object and image - Mailing list pgsql-general

From Alain Roger
Subject bytea / large object and image
Date
Msg-id 75645bbb0611040924g3008d333n57e89de3ee0ac3b9@mail.gmail.com
Whole thread Raw
Responses Re: bytea / large object and image  ("Raymond O'Donnell" <rod@iol.ie>)
Re: bytea / large object and image  (Tomas Vondra <tv@fuzzy.cz>)
List pgsql-general
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 store the path and file name of file to DB and just read the data to display image on PHP pages ?
what is the purpose in this case to store image a bytea / large object ?

thanks a lot,

Al.

pgsql-general by date:

Previous
From: "Alain Roger"
Date:
Subject: Re: UNICODE and UTF-8
Next
From: Stephan Szabo
Date:
Subject: Re: Simple stored procedure examples?