]> granicus.if.org Git - pgbadger/commitdiff
Always display slides part on connections report even if there is no data.
authorDarold Gilles <gilles@darold.net>
Fri, 15 Jan 2016 21:35:05 +0000 (22:35 +0100)
committerDarold Gilles <gilles@darold.net>
Fri, 15 Jan 2016 21:35:05 +0000 (22:35 +0100)
pgbadger

index ffb3e656d6be0a1892fb88886d37d562532ddda0..a2173e103ff26440d86d4c6081fa59672203f4ea 100755 (executable)
--- a/pgbadger
+++ b/pgbadger
@@ -8731,13 +8731,13 @@ sub dump_as_html
                        &print_established_connection() if (!$disable_hourly);
 
                        # Show per database/user connections
-                       &print_database_connection() if (exists $connection_info{database});
+                       &print_database_connection();
 
                        # Show per user connections
-                       &print_user_connection() if (exists $connection_info{user});
+                       &print_user_connection();
 
                        # Show per client ip connections
-                       &print_host_connection() if (exists $connection_info{host});
+                       &print_host_connection();
                }