Postgres obtient la taille de la base de données
SELECT pg_size_pretty( pg_database_size('dbname') );
Cloudy Caiman
SELECT pg_size_pretty( pg_database_size('dbname') );
SELECT pg_size_pretty(pg_indexes_size('dbname'));