pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Hack pg_ctl to report postmaster's exit status.
Date: Mon, 07 Oct 2019 14:39:15 +0000
Message-ID: <E1iHUAN-0003fD-Gw@gemulon.postgresql.org> (raw)

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

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/6a5084eed49552bfc8859c438c8d74ad09fc5d3f

Modified Files
--------------
src/bin/pg_ctl/pg_ctl.c | 31 ++++++++++++++-----------------
1 file changed, 14 insertions(+), 17 deletions(-)



Message-ID: <E1iHUAN-0003fD-Gw@gemulon.postgresql.org>
Permalink:  ../E1iHUAN-0003fD-Gw@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1iHUAN-0003fD-Gw@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: tgl@sss.pgh.pa.us
  Subject: Re: pgsql: Hack pg_ctl to report postmaster's exit status.
  In-Reply-To: <E1iHUAN-0003fD-Gw@gemulon.postgresql.org>
  References: <E1iHUAN-0003fD-Gw@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox