diff options
author | Heikki Linnakangas <heikki.linnakangas@iki.fi> | 2018-04-11 23:39:48 +0300 |
---|---|---|
committer | Heikki Linnakangas <heikki.linnakangas@iki.fi> | 2018-04-11 23:39:48 +0300 |
commit | a820b4c32946c499a2d19846123840a0dad071b5 (patch) | |
tree | 35d4028eba4cc8bcc70566ea1a958ed24ce7b7c0 /src/include/executor/nodeModifyTable.h | |
parent | 72cf7f310c0729a331f321fad39835ac886603dc (diff) | |
download | postgresql-a820b4c32946c499a2d19846123840a0dad071b5.tar.gz postgresql-a820b4c32946c499a2d19846123840a0dad071b5.zip |
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/include/executor/nodeModifyTable.h')
0 files changed, 0 insertions, 0 deletions