gnumed-devel
[Top][All Lists]
Advanced

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

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


From: Busser, Jim
Subject: [Gnumed-devel] Help menu > About database … size
Date: Thu, 1 Aug 2013 21:33:21 +0000

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


reply via email to

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