summaryrefslogtreecommitdiff
path: root/src/backend/access/transam/xlog.c
diff options
context:
space:
mode:
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>2018-04-11 23:39:48 +0300
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>2018-04-11 23:40:19 +0300
commitfd2efda5d6f16a0476b41fe14de954549236f76a (patch)
tree81aa3a5118ec8811349571cb054eed4eea034602 /src/backend/access/transam/xlog.c
parent2224d1ce144789bf108382f4fdec9f9e9dcf385a (diff)
Make local copy of client hostnames in backend status array.
The other strings, application_name and query string, were snapshotted to local memory in pgstat_read_current_status(), but we forgot to do that for client hostnames. As a result, the client hostname would appear to change in the local copy, if the client disconnected. Backpatch to all supported versions. Author: Edmund Horner Reviewed-by: Michael Paquier Discussion: https://www.postgresql.org/message-id/CAMyN-kA7aOJzBmrYFdXcc7Z0NmW%2B5jBaf_m%3D_-77uRNyKC9r%3DA%40mail.gmail.com
Diffstat (limited to 'src/backend/access/transam/xlog.c')
0 files changed, 0 insertions, 0 deletions