mirror of
https://github.com/postgres/postgres.git
synced 2025-07-28 23:42:10 +03:00
Remove the last traces of --temp-port.
This commit is contained in:
@ -1,7 +1,7 @@
|
|||||||
|
|
||||||
# -*-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)
|
|||||||
$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
|
|||||||
"--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);
|
||||||
|
Reference in New Issue
Block a user