Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-interfaces by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group