mirror of
https://github.com/postgres/postgres.git
synced 2025-04-22 23:02:54 +03:00
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.
This commit is contained in:
parent
9afdea9824
commit
fb424ae85f
@ -1198,6 +1198,8 @@ sub GetFakeConfigure
|
|||||||
$cfg .= ' --with-tcl' if ($self->{options}->{tcl});
|
$cfg .= ' --with-tcl' if ($self->{options}->{tcl});
|
||||||
$cfg .= ' --with-perl' if ($self->{options}->{perl});
|
$cfg .= ' --with-perl' if ($self->{options}->{perl});
|
||||||
$cfg .= ' --with-python' if ($self->{options}->{python});
|
$cfg .= ' --with-python' if ($self->{options}->{python});
|
||||||
|
my $port = $self->{options}->{'--with-pgport'};
|
||||||
|
$cfg .= " --with-pgport=$port" if defined($port)
|
||||||
|
|
||||||
return $cfg;
|
return $cfg;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user