forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitcd85ae1
committed
Improve pg_ctl's message for shutdown after recovery.
If pg_ctl tries to start the postmaster, but the postmaster shuts downbecause it completed a point-in-time recovery, pg_ctl used to reporta message that indicated a failure. It's not really a failure, soinstead say "server shut down because of recovery target settings".Zhao Junwang, Crisp Lee, Laurenz AlbeDiscussion:https://postgr.es/m/CAGHPtV7GttPZ-HvxZuYRy70jLGQMEm5=LQc4fKGa=J74m2VZbg@mail.gmail.com1 parent56c6be5 commitcd85ae1
1 file changed
+18
-6
lines changedLines changed: 18 additions & 6 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
45 | 45 |
| |
46 | 46 |
| |
47 | 47 |
| |
| 48 | + | |
48 | 49 |
| |
49 | 50 |
| |
50 | 51 |
| |
| |||
657 | 658 |
| |
658 | 659 |
| |
659 | 660 |
| |
660 |
| - | |
661 | 661 |
| |
| 662 | + | |
| 663 | + | |
662 | 664 |
| |
663 | 665 |
| |
664 |
| - | |
665 |
| - | |
666 |
| - | |
| 666 | + | |
667 | 667 |
| |
668 |
| - | |
669 |
| - | |
| 668 | + | |
670 | 669 |
| |
| 670 | + | |
| 671 | + | |
| 672 | + | |
| 673 | + | |
| 674 | + | |
| 675 | + | |
| 676 | + | |
| 677 | + | |
| 678 | + | |
671 | 679 |
| |
672 | 680 |
| |
673 | 681 |
| |
| |||
991 | 999 |
| |
992 | 1000 |
| |
993 | 1001 |
| |
| 1002 | + | |
| 1003 | + | |
| 1004 | + | |
| 1005 | + | |
994 | 1006 |
| |
995 | 1007 |
| |
996 | 1008 |
| |
|
0 commit comments
Comments
(0)