Improve pg_ctl's message for shutdown after recovery.
Tom Lane <tgl@sss.pgh.pa.us>
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
Files
| Path | Change | +/− |
|---|---|---|
| src/bin/pg_ctl/pg_ctl.c | modified | +18 −6 |
Discussion
- make pg_ctl more friendly 21 messages · 2023-11-02 → 2024-07-19