Hack pg_ctl to report postmaster's exit status.

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 6a5084eed49552bfc8859c438c8d74ad09fc5d3f
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2019-10-07T14:39:07Z
Releases: 13.0
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

Files

PathChange+/−
src/bin/pg_ctl/pg_ctl.c modified +14 −17

Discussion