You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 17, 2024. It is now read-only.
ERROR: division by zero
Problem:
The divisions in these case statements fail when the
tblpages
from the subquery is 0 for some rows of a section of a partitioned table.pgwatch2/pgwatch2/metrics/00_helpers/get_table_bloat_approx_sql/12/metric.sql
Lines 30 to 45 in 0b3c7e6
Sample row of subquery:
Table
partitioned_table_001
is a partition ofpartitioned_table
.Possible fix?
Should be added to all three CASES.
The text was updated successfully, but these errors were encountered: