pg.ddx.io pgsql-committers@postgresql.org mailing list archivehelp / color / mirror / Atom feed
pgsql: Make local copy of client hostnames in backend status array. 6+ messages / 1 participants [nested] [flat]
* pgsql: Make local copy of client hostnames in backend status array. @ 2018-04-11 21:01 Heikki Linnakangas <heikki.linnakangas@iki.fi> 0 siblings, 0 replies; 6+ messages in thread From: Heikki Linnakangas @ 2018-04-11 21:01 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org 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%40ma... Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/a820b4c32946c499a2d19846123840a0dad071b5 Modified Files -------------- src/backend/postmaster/pgstat.c | 7 +++++++ 1 file changed, 7 insertions(+) ^ permalink raw reply [nested|flat] 6+ messages in thread
* pgsql: Make local copy of client hostnames in backend status array. @ 2018-04-11 21:01 Heikki Linnakangas <heikki.linnakangas@iki.fi> 0 siblings, 0 replies; 6+ messages in thread From: Heikki Linnakangas @ 2018-04-11 21:01 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org 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%40ma... Branch ------ REL_10_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/89c2ab34039864488b8a83c03d1b1d841adf4aaf Modified Files -------------- src/backend/postmaster/pgstat.c | 7 +++++++ 1 file changed, 7 insertions(+) ^ permalink raw reply [nested|flat] 6+ messages in thread
* pgsql: Make local copy of client hostnames in backend status array. @ 2018-04-11 21:01 Heikki Linnakangas <heikki.linnakangas@iki.fi> 0 siblings, 0 replies; 6+ messages in thread From: Heikki Linnakangas @ 2018-04-11 21:01 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org 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%40ma... Branch ------ REL9_6_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/74dc05e01e5a195e432c6bd31f6504eb24b8316b Modified Files -------------- src/backend/postmaster/pgstat.c | 7 +++++++ 1 file changed, 7 insertions(+) ^ permalink raw reply [nested|flat] 6+ messages in thread
* pgsql: Make local copy of client hostnames in backend status array. @ 2018-04-11 21:01 Heikki Linnakangas <heikki.linnakangas@iki.fi> 0 siblings, 0 replies; 6+ messages in thread From: Heikki Linnakangas @ 2018-04-11 21:01 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org 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%40ma... Branch ------ REL9_5_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/fd2efda5d6f16a0476b41fe14de954549236f76a Modified Files -------------- src/backend/postmaster/pgstat.c | 7 +++++++ 1 file changed, 7 insertions(+) ^ permalink raw reply [nested|flat] 6+ messages in thread
* pgsql: Make local copy of client hostnames in backend status array. @ 2018-04-11 21:01 Heikki Linnakangas <heikki.linnakangas@iki.fi> 0 siblings, 0 replies; 6+ messages in thread From: Heikki Linnakangas @ 2018-04-11 21:01 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org 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%40ma... Branch ------ REL9_4_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/310d1379dd710322da398f5223051368fc876e23 Modified Files -------------- src/backend/postmaster/pgstat.c | 7 +++++++ 1 file changed, 7 insertions(+) ^ permalink raw reply [nested|flat] 6+ messages in thread
* pgsql: Make local copy of client hostnames in backend status array. @ 2018-04-11 21:01 Heikki Linnakangas <heikki.linnakangas@iki.fi> 0 siblings, 0 replies; 6+ messages in thread From: Heikki Linnakangas @ 2018-04-11 21:01 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org 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%40ma... Branch ------ REL9_3_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/dfc383cf3975ccb1053ef7431d1dfdcff1dfefea Modified Files -------------- src/backend/postmaster/pgstat.c | 7 +++++++ 1 file changed, 7 insertions(+) ^ permalink raw reply [nested|flat] 6+ messages in thread
end of thread, other threads:[~2018-04-11 21:01 UTC | newest] Thread overview: 6+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2018-04-11 21:01 pgsql: Make local copy of client hostnames in backend status array. Heikki Linnakangas <heikki.linnakangas@iki.fi> 2018-04-11 21:01 pgsql: Make local copy of client hostnames in backend status array. Heikki Linnakangas <heikki.linnakangas@iki.fi> 2018-04-11 21:01 pgsql: Make local copy of client hostnames in backend status array. Heikki Linnakangas <heikki.linnakangas@iki.fi> 2018-04-11 21:01 pgsql: Make local copy of client hostnames in backend status array. Heikki Linnakangas <heikki.linnakangas@iki.fi> 2018-04-11 21:01 pgsql: Make local copy of client hostnames in backend status array. Heikki Linnakangas <heikki.linnakangas@iki.fi> 2018-04-11 21:01 pgsql: Make local copy of client hostnames in backend status array. Heikki Linnakangas <heikki.linnakangas@iki.fi>
This inbox is served by DDX for PostgreSQL; see mirroring instructions for how to clone and mirror all data and code used for this inbox