Skip site navigation (1) Skip section navigation (2)

Re: psql show dbsize?

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: andy <andy(at)squeakycode(dot)net>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: psql show dbsize?
Date: 2007-10-31 23:07:56
Message-ID: 47290ACC.4020704@dunslane.net (view raw or flat)
Thread:
Lists: pgsql-hackers

Tom Lane wrote:
> andy <andy(at)squeakycode(dot)net> writes:
>   
>> I know its way too late in the game, sorry, but it's a very small patch...
>>     
>
> (1) What's the performance impact?  I should think that this makes \l orders
> of magnitude slower.
>
> (2) Doesn't this render \l entirely nonfunctional for users who don't
> have CONNECT privilege to all DBs in the installation?
>
> 			
>   

Perhaps both these considerations dictate providing another command or a 
special flavor of \l instead of just modifying it?

cheers

andrew

In response to

Responses

pgsql-hackers by date

Next:From: Tom LaneDate: 2007-10-31 23:41:32
Subject: Re: Postgresql 8.3 beta crash
Previous:From: Tom LaneDate: 2007-10-31 22:36:55
Subject: Re: DML fails after updatable cursor is used with trigger returning function

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group