postgres.chart.py: fix template databases ignore (#8929)
Slava committed
May 13, 2020 at 16:13 UTC
e11c630c5739af1165137c65f03ac6a4d8e82bf3
1 file changed
+1
-1
collectors/python.d.plugin/postgres/postgres.chart.py
+1
-1
@@ -394,7 +394,7 @@ FROM pg_stat_database
394
WHERE
395
has_database_privilege(
396
(SELECT current_user), datname, 'connect')
397
- AND NOT datname ~* '^template\d ';
397
+ AND NOT datname ~* '^template\d';
398
""",
399
}
400