get the data size of a large object

From: Stéphane Pinel <spinel(at)noos(dot)fr>
To: pgsql-interfaces(at)postgresql(dot)org
Subject: get the data size of a large object
Date: 2003-04-24 17:43:29
Message-ID: 42A8B512-767C-11D7-8C23-000A27AFF5D2@noos.fr
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces

Is there a way to get the data size of a large object ? I would like to
be able
to read an entire large object using lo_read function. Since this
function needs
a "len" parameter as input, I have to know the size of the large
object...

Any idea ?

Thanks.

------------------------------------------------------------------------
---
Stéphane Pinel
iChat/AIM: s.pinel
------------------------------------------------------------------------
---

Responses

Browse pgsql-interfaces by date

  From Date Subject
Next Message Jeroen T. Vermeulen 2003-04-24 20:12:59 Re: get the data size of a large object
Previous Message Barry Lind 2003-04-24 17:29:03 Re: First draft of new FE/BE protocol spec posted for comments