diff options
author | Slava <slava.ganzin@gmail.com> | 2020-05-13 16:13:06 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-13 16:13:06 +0300 |
commit | e11c630c5739af1165137c65f03ac6a4d8e82bf3 (patch) | |
tree | 1b4138a06e40bf6069da24e4e370421887a620e0 /collectors | |
parent | 2ca628f8a83d6cff3aa494157d4bf7180dc37f82 (diff) |
postgres.chart.py: fix template databases ignore (#8929)
Diffstat (limited to 'collectors')
-rw-r--r-- | collectors/python.d.plugin/postgres/postgres.chart.py | 2 |
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'; """, } |