mirror of
https://github.com/postgres/postgres.git
synced 2025-05-03 22:24:49 +03:00
Fix vcregress.pl's ancient misspelling of --max-connections.
I copied the existing spelling of "--max_connections", but that's just wrong :-(. Evidently setting $ENV{MAX_CONNECTIONS} has never actually worked in this script. Given the lack of complaints, it's probably not worth back-patching a fix. Per buildfarm. Discussion: https://postgr.es/m/899209.1620759506@sss.pgh.pa.us
This commit is contained in:
parent
1df3555acc
commit
0b85fa93e4
@ -71,7 +71,7 @@ else
|
|||||||
}
|
}
|
||||||
|
|
||||||
my $maxconn = "";
|
my $maxconn = "";
|
||||||
$maxconn = "--max_connections=$ENV{MAX_CONNECTIONS}"
|
$maxconn = "--max-connections=$ENV{MAX_CONNECTIONS}"
|
||||||
if $ENV{MAX_CONNECTIONS};
|
if $ENV{MAX_CONNECTIONS};
|
||||||
|
|
||||||
my $temp_config = "";
|
my $temp_config = "";
|
||||||
@ -109,7 +109,7 @@ sub installcheck_internal
|
|||||||
# for backwards compatibility, "serial" runs the tests in
|
# for backwards compatibility, "serial" runs the tests in
|
||||||
# parallel_schedule one by one.
|
# parallel_schedule one by one.
|
||||||
my $maxconn = $maxconn;
|
my $maxconn = $maxconn;
|
||||||
$maxconn = "--max_connections=1" if $schedule eq 'serial';
|
$maxconn = "--max-connections=1" if $schedule eq 'serial';
|
||||||
$schedule = 'parallel' if $schedule eq 'serial';
|
$schedule = 'parallel' if $schedule eq 'serial';
|
||||||
|
|
||||||
my @args = (
|
my @args = (
|
||||||
@ -141,7 +141,7 @@ sub check
|
|||||||
# for backwards compatibility, "serial" runs the tests in
|
# for backwards compatibility, "serial" runs the tests in
|
||||||
# parallel_schedule one by one.
|
# parallel_schedule one by one.
|
||||||
my $maxconn = $maxconn;
|
my $maxconn = $maxconn;
|
||||||
$maxconn = "--max_connections=1" if $schedule eq 'serial';
|
$maxconn = "--max-connections=1" if $schedule eq 'serial';
|
||||||
$schedule = 'parallel' if $schedule eq 'serial';
|
$schedule = 'parallel' if $schedule eq 'serial';
|
||||||
|
|
||||||
InstallTemp();
|
InstallTemp();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user