From: | Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org> |
---|---|
To: | Soeren Laursen <sl(at)scrooge(dot)dk> |
Cc: | pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: Use of inv_getsize in functions |
Date: | 2005-08-10 15:22:48 |
Message-ID: | 20050810152248.GB6847@alvh.no-ip.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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)
From | Date | Subject | |
---|---|---|---|
Next Message | Andrew Dunstan | 2005-08-10 15:26:49 | Re: small proposal: pg_config record flag variables? |
Previous Message | Michael Fuhr | 2005-08-10 15:14:07 | Re: Use of inv_getsize in functions |