Commit 3191ab5d authored by Tom Lane's avatar Tom Lane

Remove the last traces of --temp-port.

parent ac03efbb
# -*-perl-*- hey - emacs - this is a perl file # -*-perl-*- hey - emacs - this is a perl file
# $PostgreSQL: pgsql/src/tools/msvc/vcregress.pl,v 1.9 2008/11/28 23:47:51 tgl Exp $ # $PostgreSQL: pgsql/src/tools/msvc/vcregress.pl,v 1.10 2008/12/01 13:39:45 tgl Exp $
use strict; use strict;
...@@ -49,16 +49,6 @@ unless ($schedule) ...@@ -49,16 +49,6 @@ unless ($schedule)
$schedule = "parallel" if ($what eq 'CHECK' || $what =~ /PARALLEL/); $schedule = "parallel" if ($what eq 'CHECK' || $what =~ /PARALLEL/);
} }
my $temp_port;
if (-e "src/tools/msvc/config.pl")
{
eval{
require "src/tools/msvc/config.pl";
$temp_port = $config->{'--with-pgport'};
}
}
$temp_port ||= 55432;
my $topdir = getcwd(); my $topdir = getcwd();
$ENV{PERL5LIB} = "$topdir/src/tools/msvc"; $ENV{PERL5LIB} = "$topdir/src/tools/msvc";
...@@ -146,8 +136,7 @@ sub ecpgcheck ...@@ -146,8 +136,7 @@ sub ecpgcheck
"--load-language=plpgsql", "--load-language=plpgsql",
"--no-locale", "--no-locale",
"--temp-install=./tmp_chk", "--temp-install=./tmp_chk",
"--top-builddir=\"$topdir\"", "--top-builddir=\"$topdir\""
"--port=$temp_port"
); );
push(@args,$maxconn) if $maxconn; push(@args,$maxconn) if $maxconn;
system(@args); system(@args);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment