How to get the size of a large object? - Mailing list pgsql-general

From Robert B. Easter
Subject How to get the size of a large object?
Date
Msg-id 00042115124402.18804@comptechnews
Whole thread Raw
In response to PG Problems  (ALASTAIR JOHN TAYLOR <ajt6@aber.ac.uk>)
Responses Re: How to get the size of a large object?  (swalker <swalker@ct36753-a.jfrvil1.in.home.com>)
List pgsql-general
I use php4 and I'm wondering if there is a way to find out the size of a large
object so that when I call pg_loread($fd, $len), I can set $len to the correct
number of bytes to read in.  Does the database maintain this information
anywhere accessible by a query?  I could store the sizes in a table along with
the oids but would rather not if I don't need to.

pgsql-general by date:

Previous
From: Loïc TREGOUËT
Date:
Subject: How to use new type ?
Next
From: swalker
Date:
Subject: Re: How to get the size of a large object?