@cryptotaxi247 / netdata-1 / commits / eebcb8520

Postgres: mat. views considered as tables in table size/count chart (#11816)

Nikolay Samokhvalov committed Jan 10, 2022 at 04:09 UTC eebcb8520c526523a0a471887783ba63392d7e24
1 file changed +1 -1
collectors/python.d.plugin/postgres/postgres.chart.py
+1 -1
@@ -339,7 +339,7 @@ SELECT
339 sum(relpages) * current_setting('block_size')::numeric AS table_size,
340 count(1) AS table_count
341 FROM pg_class
342 -WHERE relkind IN ('r', 't');
342 +WHERE relkind IN ('r', 't', 'm');
343 """,
344 }
345