projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e73ae9a
)
Also fix query_plans_by_table
author
Bernd Zeimetz
<bernd@bzed.de>
Fri, 2 Sep 2016 12:05:58 +0000
(14:05 +0200)
committer
Marc Fournier
<marc.fournier@camptocamp.com>
Mon, 5 Sep 2016 06:59:16 +0000
(08:59 +0200)
#1905 happens here obviously, too.
src/postgresql_default.conf
patch
|
blob
|
history
diff --git
a/src/postgresql_default.conf
b/src/postgresql_default.conf
index
7ec971a
..
0aac41e
100644
(file)
--- a/
src/postgresql_default.conf
+++ b/
src/postgresql_default.conf
@@
-207,10
+207,10
@@
<Query query_plans_by_table>
Statement "SELECT schemaname, relname, \
-
seq_scan
AS seq, \
-
seq_tup_read
AS seq_tup_read, \
-
idx_scan
AS idx, \
-
idx_tup_fetch
AS idx_tup_fetch \
+
coalesce(seq_scan, 0)
AS seq, \
+
coalesce(seq_tup_read, 0)
AS seq_tup_read, \
+
coalesce(idx_scan, 0)
AS idx, \
+
coalesce(idx_tup_fetch, 0)
AS idx_tup_fetch \
FROM pg_stat_user_tables;"
<Result>