summaryrefslogtreecommitdiff
path: root/check_postgres.pl
diff options
context:
space:
mode:
Diffstat (limited to 'check_postgres.pl')
-rwxr-xr-xcheck_postgres.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/check_postgres.pl b/check_postgres.pl
index 178fb3763..b0433f6a1 100755
--- a/check_postgres.pl
+++ b/check_postgres.pl
@@ -2524,7 +2524,7 @@ sub run_command {
## Store this target in the global target list
push @{$info->{db}}, $db;
- my @args = ('-q', '-t');
+ my @args = ('-X', '-q', '-t');
if (defined $db->{dbservice} and length $db->{dbservice}) { ## XX Check for simple names
$db->{pname} = "service=$db->{dbservice}";
$ENV{PGSERVICE} = $db->{dbservice};