Re: psql \dt and table size

Susanne Ebrecht <susanne@2ndquadrant.com>

From: Susanne Ebrecht <susanne@2ndQuadrant.com>
To: Bernd Helmle <mailings@oopsware.de>
Cc: pgsql-hackers@postgresql.org
Date: 2011-03-23T19:22:20Z
Lists: pgsql-hackers
Hello Bernd,

On 21.03.2011 18:44, Bernd Helmle wrote:
>
> Attached minor patch extends \dt to use pg_table_size() starting with 
> PostgreSQL 9.0, not sure if we backport such changes though. It would 
> be interesting for 9.1, however. 

As I already told you:

I tested and it worked.
The code looks correct to me.

You just should send the code to a beauty farm - the wrinkles (braces) 
could get placed better also it could be more. :)

Susanne

-- 
Susanne Ebrecht - 2ndQuadrant
PostgreSQL Development, 24x7 Support, Training and Services
www.2ndQuadrant.com