Use of inv_getsize in functions - Mailing list pgsql-hackers

From Soeren Laursen
Subject Use of inv_getsize in functions
Date
Msg-id 42F93439.20522.FC1CDA@localhost
Whole thread Raw
Responses Re: Use of inv_getsize in functions
Re: Use of inv_getsize in functions
List 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 by date:

Previous
From: Simon Riggs
Date:
Subject: Re: small proposal: pg_config record flag variables?
Next
From: Tom Lane
Date:
Subject: Re: small proposal: pg_config record flag variables?