pgsql: pg_regress: Promptly detect failed postmaster startup.

From: Noah Misch <noah(at)leadboat(dot)com>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: pg_regress: Promptly detect failed postmaster startup.
Date: 2018-12-31 22:18:37
Message-ID: E1ge5tN-0000nF-2C@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

pg_regress: Promptly detect failed postmaster startup.

Detect it the way pg_ctl's wait_for_postmaster() does. When pg_regress
spawned a postmaster that failed startup, we were detecting that only
with "pg_regress: postmaster did not respond within 60 seconds".
Back-patch to 9.4 (all supported versions).

Reviewed by Tom Lane.

Discussion: https://postgr.es/m/20181231172922.GA199150@gust.leadboat.com

Branch
------
REL9_4_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/309d16f073fdbc8b5da6a8a7ff4afad01c78e7f6

Modified Files
--------------
src/test/regress/pg_regress.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Michael Paquier 2019-01-01 00:03:45 pgsql: Improve comments and logs in do_pg_stop/start_backup
Previous Message Noah Misch 2018-12-31 22:18:36 pgsql: Process EXTRA_INSTALL serially, during the first temp-install.