git.postgresql.org Git - postgresql.git/commitdiff

git projects / postgresql.git / commitdiff
? search:
summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 9afdea9)
Report configured port in MSVC built pg_config
2021年5月28日 13:26:30 +0000 (09:26 -0400)
2021年5月28日 13:30:16 +0000 (09:30 -0400)
This is a long standing omission, discovered when trying to write code
that relied on it.

Backpatch to all live branches.


diff --git a/src/tools/msvc/Solution.pm b/src/tools/msvc/Solution.pm
index 97f012bbb5e4bc5572267f319349b8f424038ec8..3ee57c46da58ee348252a10487527c69febee220 100644 (file)
--- a/src/tools/msvc/Solution.pm
+++ b/src/tools/msvc/Solution.pm
@@ -1198,6 +1198,8 @@ sub GetFakeConfigure
$cfg .= ' --with-tcl' if ($self->{options}->{tcl});
$cfg .= ' --with-perl' if ($self->{options}->{perl});
$cfg .= ' --with-python' if ($self->{options}->{python});
+ my $port = $self->{options}->{'--with-pgport'};
+ $cfg .= " --with-pgport=$port" if defined($port)
return $cfg;
}
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /