forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit74dc05e
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 parent494f3cb commit74dc05e
1 file changed
+7
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3058 | 3058 | | |
3059 | 3059 | | |
3060 | 3060 | | |
| 3061 | + | |
3061 | 3062 | | |
3062 | 3063 | | |
3063 | 3064 | | |
| |||
3076 | 3077 | | |
3077 | 3078 | | |
3078 | 3079 | | |
| 3080 | + | |
| 3081 | + | |
| 3082 | + | |
3079 | 3083 | | |
3080 | 3084 | | |
3081 | 3085 | | |
| |||
3116 | 3120 | | |
3117 | 3121 | | |
3118 | 3122 | | |
| 3123 | + | |
| 3124 | + | |
3119 | 3125 | | |
3120 | 3126 | | |
3121 | 3127 | | |
| |||
3147 | 3153 | | |
3148 | 3154 | | |
3149 | 3155 | | |
| 3156 | + | |
3150 | 3157 | | |
3151 | 3158 | | |
3152 | 3159 | | |
| |||
0 commit comments
Comments
(0)