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

From petere@postgresql.org (Peter Eisentraut)
Subject pgsql: Reduce risk of accidentally running temp-install regression tests
Date
Msg-id 20081128124534.B31FE7545A4@cvs.postgresql.org
Whole thread Raw
Responses Re: pgsql: Reduce risk of accidentally running temp-install regression tests  (Andrew Dunstan <andrew@dunslane.net>)
List 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)

pgsql-committers by date:

Previous
From: dpage@pgfoundry.org (Dave Page)
Date:
Subject: edb-debugger - server: Update debugger server for PostgreSQL 8.4, and re
Next
From: mha@postgresql.org (Magnus Hagander)
Date:
Subject: pgsql: Support regular expressions in pg_ident.conf.