diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-08-26 08:15:20 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-08-26 08:15:20 +0000 |
commit | 87d772a7d708fec12f48cd8adc0dedff6e1025da (patch) | |
tree | 1fee344c64cc3f43074a01981e21126c8482a522 /src/go/collectors/go.d.plugin/modules/postgres/do_query_indexes.go | |
parent | Adding upstream version 1.46.3. (diff) | |
download | netdata-upstream.tar.xz netdata-upstream.zip |
Adding upstream version 1.47.0.upstream/1.47.0upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r-- | src/go/plugin/go.d/modules/postgres/do_query_indexes.go (renamed from src/go/collectors/go.d.plugin/modules/postgres/do_query_indexes.go) | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/go/collectors/go.d.plugin/modules/postgres/do_query_indexes.go b/src/go/plugin/go.d/modules/postgres/do_query_indexes.go index f5eb15bb3..309b4d104 100644 --- a/src/go/collectors/go.d.plugin/modules/postgres/do_query_indexes.go +++ b/src/go/plugin/go.d/modules/postgres/do_query_indexes.go @@ -42,7 +42,7 @@ func (p *Postgres) doDBQueryStatUserIndexes(db *sql.DB) error { case "relname": table = value case "indexrelname": - name = value + name = removeSpaces(value) p.getIndexMetrics(name, table, dbname, schema).updated = true case "parent_relname": p.getIndexMetrics(name, table, dbname, schema).parentTable = value |