pgsql: Honor PGCTLTIMEOUT environment variable for pg_regress' startup - Mailing list pgsql-committers

From Tom Lane
Subject pgsql: Honor PGCTLTIMEOUT environment variable for pg_regress' startup
Date
Msg-id E1at5be-0000k0-3m@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Honor PGCTLTIMEOUT environment variable for pg_regress' startup wait.

In commit 2ffa86962077c588 we made pg_ctl recognize an environment variable
PGCTLTIMEOUT to set the default timeout for starting and stopping the
postmaster.  However, pg_regress uses pg_ctl only for the "stop" end of
that; it has bespoke code for starting the postmaster, and that code has
historically had a hard-wired 60-second timeout.  Further buildfarm
experience says it'd be a good idea if that timeout were also controlled
by PGCTLTIMEOUT, so let's make it so.  Like the previous patch, back-patch
to all active branches.

Discussion: <13969.1461191936@sss.pgh.pa.us>

Branch
------
REL9_1_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/4c1c9f80b769120f2e809aa6447383c95c7705cf

Modified Files
--------------
src/test/regress/pg_regress.c | 27 +++++++++++++++++++++------
1 file changed, 21 insertions(+), 6 deletions(-)


pgsql-committers by date:

Previous
From: Robert Haas
Date:
Subject: pgsql: Add pg_dump support for the new PARALLEL option for aggregates.
Next
From: Tom Lane
Date:
Subject: pgsql: Honor PGCTLTIMEOUT environment variable for pg_regress' startup