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