pgsql: Honor PGCTLTIMEOUT environment variable for pg_regress' startup

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Honor PGCTLTIMEOUT environment variable for pg_regress' startup
Date: 2016-04-21 03:48:42
Message-ID: E1at5be-0000jy-3j@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(dot)1461191936(at)sss(dot)pgh(dot)pa(dot)us>

Branch
------
REL9_2_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/1b22368ff7a8eb7cdee987c417c26bf524995e33

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

Browse pgsql-committers by date

  From Date Subject
Next Message Robert Haas 2016-04-21 03:54:30 pgsql: postgres_fdw: Don't push down certain full joins.
Previous Message Robert Haas 2016-04-21 03:06:22 pgsql: Add pg_dump support for the new PARALLEL option for aggregates.