pgsql: pg_regress: Promptly detect failed postmaster startup. - Mailing list pgsql-committers

From Noah Misch
Subject pgsql: pg_regress: Promptly detect failed postmaster startup.
Date
Msg-id E1ge5tN-0000nC-0y@gemulon.postgresql.org
Whole thread Raw
List 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_6_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/13602a9b6b72d0152200a146fef16e12d7a4a10a

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


pgsql-committers by date:

Previous
From: Noah Misch
Date:
Subject: pgsql: pg_regress: Promptly detect failed postmaster startup.
Next
From: Michael Paquier
Date:
Subject: pgsql: Improve comments and logs in do_pg_stop/start_backup