pg_regress: Promptly detect failed postmaster startup.
authorNoah Misch
Mon, 31 Dec 2018 21:50:32 +0000 (13:50 -0800)
committerNoah Misch
Mon, 31 Dec 2018 21:51:30 +0000 (13:51 -0800)
commit309d16f073fdbc8b5da6a8a7ff4afad01c78e7f6
tree3b7e219e862d841d6ab71bd2219ad00c8313293b
parent2602838fa33824a0803f3b1f3814889ac7e93192
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[email protected]
src/test/regress/pg_regress.c