Other
pg_size_pretty()
Overview
The pg_size_pretty() is a database object management function that converts sizes in bytes into a human-readable format.
Syntax
The syntax for the pg_size_pretty()
function is as follows:
Parameters
The following parameters are required to execute this function:
size
: specifies the size in bytes that you want to convert