Skip to content

Commit cc8970e

Browse files
author
David Christensen
committed
Fix one more version thing causing infinite loops
1 parent 15d07f3 commit cc8970e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

check_postgres.pl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2728,7 +2728,7 @@ sub run_command {
27282728
if ($db->{error}) {
27292729
ndie $db->{error};
27302730
}
2731-
if ($db->{slurp} !~ /(\d+(?:\.?\d+))?/) {
2731+
if ($db->{slurp} !~ /([8-9]\.\d+|1\d+)/) {
27322732
ndie msg('die-badversion', $db->{slurp});
27332733
}
27342734
$db->{version} = $1;

0 commit comments

Comments
 (0)