From 0b97cf2d91851a6892ff025c6775a59d98a8bada Mon Sep 17 00:00:00 2001 From: Bernd Zeimetz Date: Fri, 2 Sep 2016 14:05:58 +0200 Subject: [PATCH] Also fix query_plans_by_table #1905 happens here obviously, too. --- src/postgresql_default.conf | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/postgresql_default.conf b/src/postgresql_default.conf index 7ec971a2..0aac41e2 100644 --- a/src/postgresql_default.conf +++ b/src/postgresql_default.conf @@ -207,10 +207,10 @@ 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;" -- 2.30.2