Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit abbd700

Browse filesBrowse 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 7a4f2e1 commit abbd700
Copy full SHA for abbd700

File tree

Expand file treeCollapse file tree

1 file changed

+2
-0
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-0
lines changed

‎src/tools/msvc/Solution.pm

Copy file name to clipboardExpand all lines: src/tools/msvc/Solution.pm
+2Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -790,6 +790,8 @@ sub GetFakeConfigure
790790
$cfg .= ' --with-tcl' if ($self->{options}->{tcl});
791791
$cfg .= ' --with-perl' if ($self->{options}->{perl});
792792
$cfg .= ' --with-python' if ($self->{options}->{python});
793+
my $port = $self->{options}->{'--with-pgport'};
794+
$cfg .= " --with-pgport=$port" if defined($port)
793795

794796
return $cfg;
795797
}

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.