summaryrefslogtreecommitdiff
path: root/check_postgres.pl
diff options
context:
space:
mode:
Diffstat (limited to 'check_postgres.pl')
-rwxr-xr-xcheck_postgres.pl3
1 files changed, 2 insertions, 1 deletions
diff --git a/check_postgres.pl b/check_postgres.pl
index fbe9eba97..573fff08c 100755
--- a/check_postgres.pl
+++ b/check_postgres.pl
@@ -1372,8 +1372,9 @@ sub add_response {
'CP version',
$row->{cversion};
}
- $same_schema_header .= sprintf "\nDB %s: %s%s%s%s",
+ $same_schema_header .= sprintf "\nDB %s: %s%s%s%s%s",
$number,
+ defined $row->{dbservice} ? qq{dbservice=$row->{dbservice} } : '',
defined $row->{port} ? qq{port=$row->{port} } : '',
defined $row->{host} ? qq{host=$row->{host} } : '',
defined $row->{dbname} ? qq{dbname=$row->{dbname} } : '',