|
From: | Rogerio Luz Coelho |
Subject: | Re: [Gnumed-devel] Help menu > About database … size |
Date: | Sat, 3 Aug 2013 01:13:20 -0300 |
On Thu, Aug 01, 2013 at 09:33:21PM +0000, Jim Busser wrote:
> Unless there is some reason to withhold, from regular users, to be able to know the size of the database, can we include in the display provided byGiven that the on-disk, in-PostgreSQL database size is
>
> Â Â Â Help > About database
>
> a line (perhaps below 'database' and above 'server')
>
> Â Â Â size: Â SELECT to_char(pg_database_size(current_database())/(1024*1024*1024.00)::real, '9,999,999,999D9') || ' Gb'
>
> as this is helpful to quickly know for backup and restoration purposes.
already logged -- and it doesn't help with figuring out
backup sizes -- I don't yet see the value of showing it to
users.
Karsten
--
GPG key ID E4071346 @ gpg-keyserver.de
E167 67FD A291 2BEA 73BD Â 4537 78B9 A9F9 E407 1346
_______________________________________________
Gnumed-devel mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/gnumed-devel
[Prev in Thread] | Current Thread | [Next in Thread] |