Skip to content

Commit 0b85fa9

Browse files
committed
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
1 parent 1df3555 commit 0b85fa9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/tools/msvc/vcregress.pl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@
7171
}
7272

7373
my $maxconn = "";
74-
$maxconn = "--max_connections=$ENV{MAX_CONNECTIONS}"
74+
$maxconn = "--max-connections=$ENV{MAX_CONNECTIONS}"
7575
if $ENV{MAX_CONNECTIONS};
7676

7777
my $temp_config = "";
@@ -109,7 +109,7 @@ sub installcheck_internal
109109
# for backwards compatibility, "serial" runs the tests in
110110
# parallel_schedule one by one.
111111
my $maxconn = $maxconn;
112-
$maxconn = "--max_connections=1" if $schedule eq 'serial';
112+
$maxconn = "--max-connections=1" if $schedule eq 'serial';
113113
$schedule = 'parallel' if $schedule eq 'serial';
114114

115115
my @args = (
@@ -141,7 +141,7 @@ sub check
141141
# for backwards compatibility, "serial" runs the tests in
142142
# parallel_schedule one by one.
143143
my $maxconn = $maxconn;
144-
$maxconn = "--max_connections=1" if $schedule eq 'serial';
144+
$maxconn = "--max-connections=1" if $schedule eq 'serial';
145145
$schedule = 'parallel' if $schedule eq 'serial';
146146

147147
InstallTemp();

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy