From: Mustafa Timur GÖKÇE <timur.gokce@rt.net.tr>
To: pgsql-admin@postgresql.org
Subject: Large Object
Date: Tue, 19 Dec 2000 19:02:28 +0200
Message-ID: <01e401c069dd$77c40d80$448041d4@mutigo> (raw)
Hi! , I want to ask you about large objects or BLOBs
I need to know the size of a large object that I have already know its indice number.
For example ,
One of my large objects in my database is indicated with xinv223345 and xinc223345
if I use this command
select lo_export(223345,'/tmp/myfile')
I can easily export this large object to my file system and see its size by " ls " command. BUT , i want to know this object's size whitout exporting it to my file system.
As a brief , Is there any postgresql command or statement that gives you a large object's SIZE which is in your database ?
Or you can advise me perl or C modules.
Thanks alot!
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: timur.gokce@rt.net.tr
Subject: Re: Large Object
In-Reply-To: <01e401c069dd$77c40d80$448041d4@mutigo>
References: <01e401c069dd$77c40d80$448041d4@mutigo>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox