[HACKERS] Use of inv_getsize in functions

2005-08-10 Thread Soeren Laursen
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_getsi

Re: [HACKERS] Use of inv_getsize in functions

2005-08-11 Thread Soeren Laursen
at 10:54:49PM +0200, Soeren Laursen wrote: > > I have used other function calls like > > inv_open with no problem, but when I load this modules I get: > > > > undefined symbol: inv_getsize > > Notice the word "static" in the definition of inv_getsize() in &