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: Improve pg_ctl's message for shutdown after recovery.
Date: Thu, 18 Jul 2024 17:49:03 +0000
Message-ID: <E1sUVFX-000A1I-Oj@gemulon.postgresql.org> (raw)

Improve pg_ctl's message for shutdown after recovery.

If pg_ctl tries to start the postmaster, but the postmaster shuts down
because it completed a point-in-time recovery, pg_ctl used to report
a message that indicated a failure.  It's not really a failure, so
instead say "server shut down because of recovery target settings".

Zhao Junwang, Crisp Lee, Laurenz Albe

Discussion: https://postgr.es/m/CAGHPtV7GttPZ-HvxZuYRy70jLGQMEm5=LQc4fKGa=J74m2VZbg@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/cd85ae1114fedcce8602bca77b4557fe75165637

Modified Files
--------------
src/bin/pg_ctl/pg_ctl.c | 24 ++++++++++++++++++------
1 file changed, 18 insertions(+), 6 deletions(-)



Message-ID: <E1sUVFX-000A1I-Oj@gemulon.postgresql.org>
Permalink:  ../E1sUVFX-000A1I-Oj@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1sUVFX-000A1I-Oj@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 using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: tgl@sss.pgh.pa.us, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Improve pg_ctl's message for shutdown after recovery.
  In-Reply-To: <E1sUVFX-000A1I-Oj@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