What about pg_size_unpretty()? I was going to suggest pg_size_ugly(), but unpretty does emphasize the inverse (rather than opposite) nature of the function.
What about pg_size_unpretty()?
pgsql-hackers by date:
Соглашаюсь с условиями обработки персональных данных