bytea / large object and image

Поиск
Список
Период
Сортировка
От Alain Roger
Тема bytea / large object and image
Дата
Msg-id 75645bbb0611040924g3008d333n57e89de3ee0ac3b9@mail.gmail.com
обсуждение исходный текст
Ответы Re: bytea / large object and image  ("Raymond O'Donnell" <rod@iol.ie>)
Re: bytea / large object and image  (Tomas Vondra <tv@fuzzy.cz>)
Список 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 по дате отправления:

Предыдущее
От: "Alain Roger"
Дата:
Сообщение: Re: UNICODE and UTF-8
Следующее
От: Stephan Szabo
Дата:
Сообщение: Re: Simple stored procedure examples?