Fix a regression in the metrics page
From the squee NULL handling change.
This commit is contained in:
parent
7b66253639
commit
e3878fefb4
1 changed files with 3 additions and 3 deletions
|
|
@ -78,9 +78,9 @@ LEFT JOIN pg_tablespace ON tablespace_id = pg_tablespace.oid")
|
|||
((name tablespace row-estimate table-bytes toast-bytes)
|
||||
(list name
|
||||
tablespace
|
||||
(or (string->number row-estimate) 0)
|
||||
(or (string->number table-bytes) 0)
|
||||
(or (string->number toast-bytes) 0))))
|
||||
(or (string->number (or row-estimate "")) 0)
|
||||
(or (string->number (or table-bytes "")) 0)
|
||||
(or (string->number (or toast-bytes "")) 0))))
|
||||
(exec-query conn query)))
|
||||
|
||||
(define (fetch-pg-stat-user-tables-metrics conn)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue