mirror of
https://github.com/jbranchaud/til
synced 2026-01-03 07:08:01 +00:00
Specify the database
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
# Pretty Print Data Sizes
|
||||
|
||||
Use the `pg_size_pretty()` function to pretty print the sizes of data. Given
|
||||
a `bigint`, it will determine the most human-readable format with which to
|
||||
print the value:
|
||||
Use the `pg_size_pretty()` function to pretty print the sizes of data in
|
||||
PostgreSQL. Given a `bigint`, it will determine the most human-readable
|
||||
format with which to print the value:
|
||||
|
||||
```sql
|
||||
> select pg_size_pretty(1234::bigint);
|
||||
|
||||
Reference in New Issue
Block a user