Re: get the data size of a large object

Поиск
Список
Период
Сортировка
От Jeroen T. Vermeulen
Тема Re: get the data size of a large object
Дата
Msg-id 20030424201259.GA92437@xs4all.nl
обсуждение исходный текст
Ответ на get the data size of a large object  (Stéphane Pinel <spinel@noos.fr>)
Ответы Re: get the data size of a large object
Список pgsql-interfaces
On Thu, Apr 24, 2003 at 07:43:29PM +0200, Stéphane Pinel wrote:
> Is there a way to get the data size of a large object ? I would like to
> be able
> to read an entire large object using lo_read function. Since this
> function needs
> a "len" parameter as input, I have to know the size of the large
> object...

Just seek to the end, remember the return value, and seek back.


Jeroen



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

Предыдущее
От: Stéphane Pinel
Дата:
Сообщение: get the data size of a large object
Следующее
От: Stéphane Pinel
Дата:
Сообщение: Re: get the data size of a large object