Skip to content

Commit

Permalink
Fix #23 Fix #22 Avoid to floating point numbers & scientific notation…
Browse files Browse the repository at this point in the history
… with numeric type
  • Loading branch information
rach committed Jan 7, 2016
1 parent e441341 commit cb0666c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion query.go
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ SELECT schemaname || '.' || tblname AS key, schemaname as schema, tblname as tab
-- ELSE 0
-- END AS extra_ratio, fillfactor,
CASE WHEN (tblpages-est_tblpages_ff)*bs > 0
THEN (tblpages-est_tblpages_ff)*bs
THEN ((tblpages-est_tblpages_ff)*bs)::bigint
ELSE 0
END AS bloat_bytes,
CASE WHEN tblpages - est_tblpages_ff > 0
Expand Down

0 comments on commit cb0666c

Please sign in to comment.