diff options
author | Sivakumar.K | 2010-07-20 15:03:35 +0000 |
---|---|---|
committer | Greg Sabino Mullane | 2010-07-20 15:03:35 +0000 |
commit | 6c62c842919d44efba63b9be88fc0503dec48220 (patch) | |
tree | e13b91508e89fcb6ed96fb0baf5dfb3d913e7b0d /check_postgres.pl | |
parent | 6e61dab0491667a8f9e3dad47d94b197efbd4f34 (diff) |
Fix the regex that matches psql/edb-psql
Diffstat (limited to 'check_postgres.pl')
-rwxr-xr-x | check_postgres.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/check_postgres.pl b/check_postgres.pl index 3c8e19754..30c3cc46a 100755 --- a/check_postgres.pl +++ b/check_postgres.pl @@ -1015,7 +1015,7 @@ if (! defined $PSQL or ! length $PSQL) { } -x $PSQL or ndie msg('opt-psql-noexec', $PSQL); $res = qx{$PSQL --version}; -$res =~ /^psql.+(\d+\.\d+)/ or ndie msg('opt-psql-nover'); +$res =~ /psql.+(\d+\.\d+)/ or ndie msg('opt-psql-nover'); our $psql_version = $1; $VERBOSE >= 2 and warn qq{psql=$PSQL version=$psql_version\n}; |