forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit89c2ab3
committed
Make local copy of client hostnames in backend status array.
The other strings, application_name and query string, were snapshotted tolocal memory in pgstat_read_current_status(), but we forgot to do that forclient hostnames. As a result, the client hostname would appear to change inthe local copy, if the client disconnected.Backpatch to all supported versions.Author: Edmund HornerReviewed-by: Michael PaquierDiscussion:https://www.postgresql.org/message-id/CAMyN-kA7aOJzBmrYFdXcc7Z0NmW%2B5jBaf_m%3D_-77uRNyKC9r%3DA%40mail.gmail.com1 parent93e60b9 commit89c2ab3
1 file changed
+7
-0
lines changedLines changed: 7 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
3220 | 3220 |
| |
3221 | 3221 |
| |
3222 | 3222 |
| |
| 3223 | + | |
3223 | 3224 |
| |
3224 | 3225 |
| |
3225 | 3226 |
| |
| |||
3238 | 3239 |
| |
3239 | 3240 |
| |
3240 | 3241 |
| |
| 3242 | + | |
| 3243 | + | |
| 3244 | + | |
3241 | 3245 |
| |
3242 | 3246 |
| |
3243 | 3247 |
| |
| |||
3278 | 3282 |
| |
3279 | 3283 |
| |
3280 | 3284 |
| |
| 3285 | + | |
| 3286 | + | |
3281 | 3287 |
| |
3282 | 3288 |
| |
3283 | 3289 |
| |
| |||
3309 | 3315 |
| |
3310 | 3316 |
| |
3311 | 3317 |
| |
| 3318 | + | |
3312 | 3319 |
| |
3313 | 3320 |
| |
3314 | 3321 |
| |
|
0 commit comments
Comments
(0)