forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commita820b4c
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 parent72cf7f3 commita820b4c
1 file changed
+7
-0
lines changedLines changed: 7 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
3224 | 3224 |
| |
3225 | 3225 |
| |
3226 | 3226 |
| |
| 3227 | + | |
3227 | 3228 |
| |
3228 | 3229 |
| |
3229 | 3230 |
| |
| |||
3242 | 3243 |
| |
3243 | 3244 |
| |
3244 | 3245 |
| |
| 3246 | + | |
| 3247 | + | |
| 3248 | + | |
3245 | 3249 |
| |
3246 | 3250 |
| |
3247 | 3251 |
| |
| |||
3282 | 3286 |
| |
3283 | 3287 |
| |
3284 | 3288 |
| |
| 3289 | + | |
| 3290 | + | |
3285 | 3291 |
| |
3286 | 3292 |
| |
3287 | 3293 |
| |
| |||
3313 | 3319 |
| |
3314 | 3320 |
| |
3315 | 3321 |
| |
| 3322 | + | |
3316 | 3323 |
| |
3317 | 3324 |
| |
3318 | 3325 |
| |
|
0 commit comments
Comments
(0)