SELECT pg_database_size('geekdb')
nebo
SELECT pg_size_pretty(pg_database_size('geekdb'))
http://www.thegeekstuff.com/ 2009/05/15-advanced-postgresql-commands-with-examples/
SELECT pg_database_size('geekdb')
nebo
SELECT pg_size_pretty(pg_database_size('geekdb'))
http://www.thegeekstuff.com/ 2009/05/15-advanced-postgresql-commands-with-examples/