Hack pg_ctl to report postmaster's exit status.
authorTom Lane <tgl@sss.pgh.pa.us>
Mon, 7 Oct 2019 14:39:07 +0000 (10:39 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Mon, 7 Oct 2019 14:39:07 +0000 (10:39 -0400)
commit6a5084eed49552bfc8859c438c8d74ad09fc5d3f
tree0a956c31b4daf078273d3c65f5ac65128f4dcd67
parentcc4ec2d29ac4f3b8335d1851627a9735b81beb50
Hack pg_ctl to report postmaster's exit status.

Temporarily change pg_ctl so that the postmaster's exit status will
be printed (to the postmaster's stdout).  This is to help identify
the cause of intermittent "postmaster exited during a parallel
transaction" failures seen on a couple of buildfarm members.  This
change degrades pg_ctl's functionality in a couple of minor ways,
so we'll revert it once we've obtained the desired info.

Discussion: https://postgr.es/m/18537.1570421268@sss.pgh.pa.us
src/bin/pg_ctl/pg_ctl.c