连上数据库
执行ALTER USER postgres WITH PASSWORD 'postgres';
ALTER USER postgres WITH PASSWORD
'postgres'
;
然后重启服务
查询数据库占用空间大小
select pg_size_pretty(pg_database_size('postgres'));