Re: Table size

From: Shane Ambler <pgsql(at)Sheeky(dot)Biz>
To: Pavan Deolasee <pavan(dot)deolasee(at)gmail(dot)com>
Cc: lak <lakindia89(at)gmail(dot)com>, pgsql-general(at)postgresql(dot)org
Subject: Re: Table size
Date: 2008-03-21 16:26:39
Message-ID: 47E3E1BF.5030305@Sheeky.Biz
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Pavan Deolasee wrote:
> On Fri, Mar 21, 2008 at 3:03 PM, lak <lakindia89(at)gmail(dot)com> wrote:
>> I have two questions.
>> How can I enter comments into a table? Where the comments are stored?
>>
>
> What do you mean by comments in a table ?

I think what you are referring to is detailed in
http://www.postgresql.org/docs/8.3/interactive/sql-comment.html

The comments are stored in pg_description (and pg_shdescription) but you
should use the comment command instead of manipulating it manually.

>> In psql How can I know the size of a single table?
>>
>
> Select pg_relation_size('mytable');
>
>
> Thanks,
> Pavan
>
>

--

Shane Ambler
pgSQL (at) Sheeky (dot) Biz

Get Sheeky @ http://Sheeky.Biz

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Erik Jones 2008-03-21 16:27:16 Re: Table size
Previous Message Joshua D. Drake 2008-03-21 16:26:10 Re: MySQL to Postgres question