---- a/diags.raw	2020-10-06 18:26:16.732431803 +0000
-+++ b/diags.raw	2020-10-06 18:26:22.827311994 +0000
-@@ -98,7 +98,7 @@
+--- pscheduler-core.orig/diags.raw	2020-10-22 14:31:09.493840421 +0000
++++ pscheduler-core/diags.raw	2020-10-22 14:34:49.475104925 +0000
+@@ -119,7 +119,7 @@
  
  section "New Tasks by Hour Added"
  

+su -l -c psql postgres <<EOF
 \c pscheduler
 SELECT
     date_trunc('hour', added) AS hour,
@@ -128,7 +128,7 @@
 
 section "Run States by Hour"
 

+su -l -c psql postgres <<EOF
 \c pscheduler
 SELECT
 date_trunc('hour', added) AS hour,
@@ -134,7 +134,7 @@
 
 section "New Runs by Hour Added"
 
