pgsql: Reduce risk of accidentally running temp-install regression tests

From: petere(at)postgresql(dot)org (Peter Eisentraut)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Reduce risk of accidentally running temp-install regression tests
Date: 2008-11-28 12:45:34
Message-ID: 20081128124534.B31FE7545A4@cvs.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
Reduce risk of accidentally running temp-install regression tests against
a mismatching installation. Pick a default port number calculated from the
version number, and try a few times with other numbers if that one doesn't
work. Check if we can connect to the port before starting our own postmaster,
to detect some other server already running there. To simplify the code,
drop --temp-port option and use --port for both temp-install and pre-installed
case.

Modified Files:
--------------
pgsql/src/test/regress:
GNUmakefile (r1.75 -> r1.76)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/test/regress/GNUmakefile?r1=1.75&r2=1.76)
pg_regress.c (r1.53 -> r1.54)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/test/regress/pg_regress.c?r1=1.53&r2=1.54)

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Magnus Hagander 2008-11-28 14:26:59 pgsql: Support regular expressions in pg_ident.conf.
Previous Message Dave Page 2008-11-28 11:18:03 edb-debugger - server: Update debugger server for PostgreSQL 8.4, and re