pg_regress: Promptly detect failed postmaster startup.

Noah Misch <noah@leadboat.com>

Commit: 13602a9b6b72d0152200a146fef16e12d7a4a10a
Author: Noah Misch <noah@leadboat.com>
Date: 2018-12-31T21:51:23Z
Releases: 9.6.12
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

Files

PathChange+/−
src/test/regress/pg_regress.c modified +1 −1

Discussion