Use of inv_getsize in functions

Поиск
Список
Период
Сортировка
От Soeren Laursen
Тема Use of inv_getsize in functions
Дата
Msg-id 42F93439.20522.FC1CDA@localhost
обсуждение исходный текст
Ответы Re: Use of inv_getsize in functions  (Michael Fuhr <mike@fuhr.org>)
Re: Use of inv_getsize in functions  (Alvaro Herrera <alvherre@alvh.no-ip.org>)
Список pgsql-hackers
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.

The function is coded in C and goes like this:

Datum
blob_size(PG_FUNCTION_ARGS)
{ Oid blob_oid = PG_GETARG_OID(0); uint32 blobsize = 0; blobsize = inv_getsize( blob_oid ); PG_RETURN_UINT32( blobsize
);
}

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

undefined symbol: inv_getsize

No errors when compiling.

I use:
postgresql 7.4.7 on debian/woody i386

Best regards,

Søren




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

Предыдущее
От: Simon Riggs
Дата:
Сообщение: Re: small proposal: pg_config record flag variables?
Следующее
От: Tom Lane
Дата:
Сообщение: Re: small proposal: pg_config record flag variables?