summaryrefslogtreecommitdiffstats
path: root/collectors
diff options
context:
space:
mode:
authorSlava <slava.ganzin@gmail.com>2020-05-13 16:13:06 +0300
committerGitHub <noreply@github.com>2020-05-13 16:13:06 +0300
commite11c630c5739af1165137c65f03ac6a4d8e82bf3 (patch)
tree1b4138a06e40bf6069da24e4e370421887a620e0 /collectors
parent2ca628f8a83d6cff3aa494157d4bf7180dc37f82 (diff)
postgres.chart.py: fix template databases ignore (#8929)
Diffstat (limited to 'collectors')
-rw-r--r--collectors/python.d.plugin/postgres/postgres.chart.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/collectors/python.d.plugin/postgres/postgres.chart.py b/collectors/python.d.plugin/postgres/postgres.chart.py
index ed2e2de583..ca8c3dbf15 100644
--- a/collectors/python.d.plugin/postgres/postgres.chart.py
+++ b/collectors/python.d.plugin/postgres/postgres.chart.py
@@ -394,7 +394,7 @@ FROM pg_stat_database
WHERE
has_database_privilege(
(SELECT current_user), datname, 'connect')
- AND NOT datname ~* '^template\d ';
+ AND NOT datname ~* '^template\d';
""",
}