Re: Show schema size with \dn+ - Mailing list pgsql-hackers

From Guillaume Lelarge
Subject Re: Show schema size with \dn+
Date
Msg-id 200910282335.45743.guillaume@lelarge.info
Whole thread Raw
In response to Show schema size with \dn+  (Anders Steinlein <anders@steinlein.no>)
List 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.orghttp://dalibo.com


pgsql-hackers by date:

Previous
From: Simon Riggs
Date:
Subject: Re: Parsing config files in a directory
Next
From: Tom Lane
Date:
Subject: WIP: push AFTER-trigger execution into ModifyTable node