Re: Use of inv_getsize in functions

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: Use of inv_getsize in functions
Дата
Msg-id 20050810152248.GB6847@alvh.no-ip.org
обсуждение исходный текст
Ответ на Use of inv_getsize in functions  ("Soeren Laursen" <sl@scrooge.dk>)
Список pgsql-hackers
On Tue, Aug 09, 2005 at 10:54:49PM +0200, Soeren Laursen wrote:
> Hi,
> 
> I am programming a new set of functions for manipulation blobs, one
> of the functions is that I want to get the size of the blob.

Huh, we don't call them "blobs".  They are "large objects" in
PostgreSQL.

> I have used other function calls like
> inv_open with no problem, but when I load this modules I get:
> 
> undefined symbol: inv_getsize

That's because inv_getsize is declared as static.

I think it would be nice to export equivalent functionality, so one can
get the size of the LO without having to seek() and tell().

-- 
Alvaro Herrera (<alvherre[a]alvh.no-ip.org>)
"¿Que diferencia tiene para los muertos, los huérfanos, y aquellos que han
perdido su hogar, si la loca destrucción ha sido realizada bajo el nombre
del totalitarismo o del santo nombre de la libertad y la democracia?" (Gandhi)


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

Предыдущее
От: Michael Fuhr
Дата:
Сообщение: Re: Use of inv_getsize in functions
Следующее
От: Andrew Dunstan
Дата:
Сообщение: Re: small proposal: pg_config record flag variables?