gnumed-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gnumed-devel] Help menu > About database … size


From: Rogerio Luz Coelho
Subject: Re: [Gnumed-devel] Help menu > About database … size
Date: Sat, 3 Aug 2013 01:13:20 -0300

If it does not show how big is the backup, than it is useless to me. 

R. 


2013/8/2 Karsten Hilbert <address@hidden>
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 by
>
>       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.

Given that the on-disk, in-PostgreSQL database size is
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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]