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: Fri, 2 Aug 2013 00:45:54 -0300

+1


2013/8/1 Busser, Jim <address@hidden>
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.

-- Jim
_______________________________________________
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]