]> git.ipfire.org Git - thirdparty/postgresql.git/commit
pg_regress: Promptly detect failed postmaster startup.
authorNoah Misch <noah@leadboat.com>
Mon, 31 Dec 2018 21:50:32 +0000 (13:50 -0800)
committerNoah Misch <noah@leadboat.com>
Mon, 31 Dec 2018 21:51:26 +0000 (13:51 -0800)
commit2fe431f1be0fe6b54fb2d7c951737d8cc33bde6f
treedf1a41d1d2c994958473f1052fa742c44ce11ce3
parentb7258a30aa6f1d4b53491174f372df07c5a6cd97
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
src/test/regress/pg_regress.c