postgresql/contrib/pg_upgrade
Tom Lane 7e2b1c03ce Make pg_upgrade's test script attempt to select a non-conflicting port.
Previously, the port number used in this test script was hard-wired at
pg_upgrade's default of 50432; which is not so great because parallel build
runs might conflict.  Commit 3d53173e20
removed this setting for the postmasters started by the script proper
(not by pg_upgrade), which didn't do anything to fix that problem and also
guaranteed a failure if there was a live postmaster at the build's default
port number.  Instead, select a non-conflicting temporary port number in
the same way that pg_regress.c does.  (Its method isn't entirely
bulletproof, but given the lack of complaints I'm not going to worry
about that today.)

In passing, unset MAKEFLAGS and MAKELEVEL to avoid problems with the
script's internal invocations of make, for the same reason pg_regress.c
does: it could cause problems in a parallel make.
2013-05-11 14:22:18 -04:00
..
.gitignore pg_upgrade: Add new generated file to .gitignore 2012-03-20 20:40:31 +02:00
check.c pg_upgrade: don't copy/link files for invalid indexes 2013-03-30 22:20:53 -04:00
controldata.c Fix pg_upgrade for 9.3 with data checksums. 2013-04-30 15:49:24 +01:00
dump.c Use pg_dump's --quote-all-identifiers option in pg_upgrade. 2013-05-09 17:34:34 -04:00
exec.c Create libpgcommon, and move pg_malloc et al to it 2013-02-12 11:21:05 -03:00
file.c Create libpgcommon, and move pg_malloc et al to it 2013-02-12 11:21:05 -03:00
function.c Create libpgcommon, and move pg_malloc et al to it 2013-02-12 11:21:05 -03:00
IMPLEMENTATION Remove useless whitespace at end of lines 2010-11-23 22:34:55 +02:00
info.c pg_upgrade: don't copy/link files for invalid indexes 2013-03-30 22:20:53 -04:00
Makefile Add pg_upgrade --jobs parameter 2012-12-26 19:26:30 -05:00
option.c Create libpgcommon, and move pg_malloc et al to it 2013-02-12 11:21:05 -03:00
page.c Create libpgcommon, and move pg_malloc et al to it 2013-02-12 11:21:05 -03:00
parallel.c Create libpgcommon, and move pg_malloc et al to it 2013-02-12 11:21:05 -03:00
pg_upgrade.c Add a materialized view relations. 2013-03-03 18:23:31 -06:00
pg_upgrade.h Fix pg_upgrade for 9.3 with data checksums. 2013-04-30 15:49:24 +01:00
relfilenode.c Create libpgcommon, and move pg_malloc et al to it 2013-02-12 11:21:05 -03:00
server.c Create libpgcommon, and move pg_malloc et al to it 2013-02-12 11:21:05 -03:00
tablespace.c Create libpgcommon, and move pg_malloc et al to it 2013-02-12 11:21:05 -03:00
test.sh Make pg_upgrade's test script attempt to select a non-conflicting port. 2013-05-11 14:22:18 -04:00
TESTING Remove whitespace from end of lines 2012-05-15 22:19:41 +03:00
util.c Create libpgcommon, and move pg_malloc et al to it 2013-02-12 11:21:05 -03:00
version_old_8_3.c Add a materialized view relations. 2013-03-03 18:23:31 -06:00
version.c Create libpgcommon, and move pg_malloc et al to it 2013-02-12 11:21:05 -03:00