Skip to content

Commit f652f1e

Browse files
committed
Update 0085_how_to_quickly_check_data_type_and_storage_size_of_a_value.md
1 parent dc17757 commit f652f1e

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

0085_how_to_quickly_check_data_type_and_storage_size_of_a_value.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -105,9 +105,10 @@ doing so, you can "pack" 64 booleans inside a single `int8` value.
105105
A couple of more examples:
106106

107107
```sql
108-
postgres=# with avg_temp(month, san_diego, vancouver, london) as (
109-
----------------
110-
8
108+
nik=# select pg_column_size(interval '1s');
109+
pg_column_size
110+
---------------
111+
8
111112
(1 row)
112113

113114
nik=# select pg_column_size(interval '1s');

0 commit comments

Comments
 (0)