- Notifications
You must be signed in to change notification settings - Fork4.9k
Commit7fa945b
committed
Improve warning message in pg_signal_backend()
Previously, invoking pg_terminate_backend() or pg_cancel_backend()with the postmaster PID produced a "PID XXXX is not a PostgresSQLserver process" warning, which does not make sense. Change to"backend process" to make the message more exact.Nathan Bossart, based on an idea from Bharath Rupireddy withinput from Tom Lane and Euler TaveiraDiscussion:https://www.postgresql.org/message-id/flat/CALj2ACW7Rr-R7mBcBQiXWPp=JV5chajjTdudLiF5YcpW-BmHhg@mail.gmail.com1 parent9cb5518 commit7fa945b
1 file changed
+6
-1
lines changedLines changed: 6 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
57 | 57 |
| |
58 | 58 |
| |
59 | 59 |
| |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
60 | 64 |
| |
61 | 65 |
| |
62 | 66 |
| |
| |||
65 | 69 |
| |
66 | 70 |
| |
67 | 71 |
| |
68 |
| - | |
| 72 | + | |
| 73 | + | |
69 | 74 |
| |
70 | 75 |
| |
71 | 76 |
| |
|
0 commit comments
Comments
(0)