pgsql: Improve pg_ctl's message for shutdown after recovery.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Improve pg_ctl's message for shutdown after recovery.
Date: 2024-07-18 17:49:03
Message-ID: E1sUVFX-000A1I-Oj@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Michael Paquier 2024-07-19 01:21:58 pgsql: Propagate query IDs of utility statements in functions
Previous Message Tom Lane 2024-07-18 16:38:07 pgsql: Doc: improve description of plpgsql's RAISE command.