Re: Display large object from database

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Display large object from database
Дата
Msg-id 20202.1149519326@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Display large object from database  ("Greg" <greg@officium.co.za>)
Список pgsql-novice
"Greg" <greg@officium.co.za> writes:
> I am battling to open the image for reading into a stream.

From what?  The lo_xxx functions are intended to be used from C, not
from SQL.

You might be better off using a bytea column, which is a far simpler
construct than a large object.  It won't give you streamwise access,
just fetch or store the whole value at once, but that might be all you
need.

            regards, tom lane

В списке pgsql-novice по дате отправления:

Предыдущее
От: "Greg"
Дата:
Сообщение: Display large object from database
Следующее
От:
Дата:
Сообщение: Re: Display large object from database