forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit98e2d58
committed
Improve log message about termination of background workers.
Previously the shutdown of a background worker that uses die() asSIGTERM signal handler produced the log message "terminatingconnection due to administrator command". This log message wasconfusing because a background worker is not a connection.This commit improves that log message to "terminating backgroundworker XXX due to administrator command" (XXX is replaced withthe name of the background worker). This is the same log messageas another SIGTERM signal handler bgworker_die() for a backgroundworker reports.Author: Bharath RupireddyReviewed-by: Fujii MasaoDiscussion:https://postgr.es/m/3f292fbb-f155-9a01-7cb2-7ccc9007ab3f@oss.nttdata.com1 parent7e5e1bb commit98e2d58
1 file changed
+5
-0
lines changedLines changed: 5 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
3072 | 3072 |
| |
3073 | 3073 |
| |
3074 | 3074 |
| |
| 3075 | + | |
| 3076 | + | |
| 3077 | + | |
| 3078 | + | |
| 3079 | + | |
3075 | 3080 |
| |
3076 | 3081 |
| |
3077 | 3082 |
| |
|
0 commit comments
Comments
(0)