Re: pg_database_size

Поиск
Список
Период
Сортировка
От John R Pierce
Тема Re: pg_database_size
Дата
Msg-id 4B52BACA.5090109@hogranch.com
обсуждение исходный текст
Ответ на pg_database_size  (AI Rumman <rummandba@gmail.com>)
Список pgsql-general
AI Rumman wrote:
> What does pg_database_size resturs?
> Bytes or KB?


those functions all return size in bytes. you can use
pg_size_pretty(pg_database_size('dbname'))  to pretty print it as MB or
whatever is most appropriate.

В списке pgsql-general по дате отправления: