how to know a table size ?

From: "Alain Roger" <raf(dot)news(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: how to know a table size ?
Date: 2007-03-28 17:02:40
Message-ID: 75645bbb0703281002r5bd89c2ci514ee116ffad2fcc@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi,

I would like display in my PHP application the size of each table.
So, how can i get the table size (for example in Mb) ?

thanks a lot,

--
Alain
------------------------------------
Windows XP SP2
PostgreSQL 8.1.4
Apache 2.0.58
PHP 5

Responses

Browse pgsql-general by date

  From Date Subject
Next Message A. Kretschmer 2007-03-28 17:15:31 Re: how to know a table size ?
Previous Message Tom Lane 2007-03-28 16:48:55 Re: disable/enable trigger hangs