Re: Show schema size with \dn+

From: Guillaume Lelarge <guillaume(at)lelarge(dot)info>
To: pgsql-hackers(at)postgresql(dot)org
Cc: Anders Steinlein <anders(at)steinlein(dot)no>
Subject: Re: Show schema size with \dn+
Date: 2009-10-28 22:35:45
Message-ID: 200910282335.45743.guillaume@lelarge.info
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Le mercredi 28 octobre 2009 à 15:11:31, Anders Steinlein a écrit :
> Is there any interest in expanding \dn+ to show schema size, similar
> to table sizes using \dt+ in 8.4? We use separate schemas for each
> user, so this would allow us to quickly look up the sizes of each
> user's data.
>
> I have little experience with C and none with the PostgreSQL code base
> -- where should I look to have a go at this?
>

I would say source file src/bin/psql/describe.c, function listSchemas.

--
Guillaume.
http://www.postgresqlfr.org
http://dalibo.com

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2009-10-28 22:45:12 WIP: push AFTER-trigger execution into ModifyTable node
Previous Message Hannu Krosing 2009-10-28 21:26:23 Re: [PATCHES] updated hash functions for postgresql v1