"Maksym Boguk" <maxim.boguk@gmail.com> writes:
> Somehow pg_database_size producing results which are 2Ñ
more then reality.
I can't reproduce any such problem here. I suspect you overlooked some
tablespaces in your manual "du" commands.
regards, tom lane