Skip to content

Commit fb424ae

Browse files
committed
Report configured port in MSVC built pg_config
This is a long standing omission, discovered when trying to write code that relied on it. Backpatch to all live branches.
1 parent 9afdea9 commit fb424ae

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/tools/msvc/Solution.pm

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1198,6 +1198,8 @@ sub GetFakeConfigure
11981198
$cfg .= ' --with-tcl' if ($self->{options}->{tcl});
11991199
$cfg .= ' --with-perl' if ($self->{options}->{perl});
12001200
$cfg .= ' --with-python' if ($self->{options}->{python});
1201+
my $port = $self->{options}->{'--with-pgport'};
1202+
$cfg .= " --with-pgport=$port" if defined($port)
12011203

12021204
return $cfg;
12031205
}

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