forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitbc2a389
committed
Be more verbose when the postmaster unexpectedly quits.
Emit a LOG message when the postmaster stops because of a failure inthe startup process. There already is a similar message if we exitfor that reason during PM_STARTUP phase, so it seems inconsistentthat there was none if the startup process fails later on.Also emit a LOG message when the postmaster stops after a crashbecause restart_after_crash is disabled. This seems potentiallyhelpful in case DBAs (or developers) forget that that's set.Also, it was the only remaining place where the postmaster woulddo an abnormal exit without any comment as to why.In passing, remove an unreachable call of ExitPostmaster(0).Discussion:https://postgr.es/m/194914.1621641288@sss.pgh.pa.us1 parent8f73ed6 commitbc2a389
1 file changed
+21
-6
lines changedLines changed: 21 additions & 6 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
3973 | 3973 |
| |
3974 | 3974 |
| |
3975 | 3975 |
| |
3976 |
| - | |
| 3976 | + | |
| 3977 | + | |
| 3978 | + | |
| 3979 | + | |
| 3980 | + | |
3977 | 3981 |
| |
3978 | 3982 |
| |
3979 | 3983 |
| |
| |||
3985 | 3989 |
| |
3986 | 3990 |
| |
3987 | 3991 |
| |
3988 |
| - | |
3989 |
| - | |
3990 |
| - | |
| 3992 | + | |
| 3993 | + | |
| 3994 | + | |
| 3995 | + | |
| 3996 | + | |
| 3997 | + | |
| 3998 | + | |
| 3999 | + | |
| 4000 | + | |
| 4001 | + | |
| 4002 | + | |
| 4003 | + | |
| 4004 | + | |
| 4005 | + | |
| 4006 | + | |
3991 | 4007 |
| |
3992 | 4008 |
| |
3993 | 4009 |
| |
| |||
5439 | 5455 |
| |
5440 | 5456 |
| |
5441 | 5457 |
| |
5442 |
| - | |
5443 |
| - | |
| 5458 | + | |
5444 | 5459 |
| |
5445 | 5460 |
| |
5446 | 5461 |
| |
|
0 commit comments
Comments
(0)