aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/transam/parallel.c
diff options
context:
space:
mode:
authorAlvaro Herrera <alvherre@alvh.no-ip.org>2016-06-29 16:57:17 -0400
committerAlvaro Herrera <alvherre@alvh.no-ip.org>2016-06-29 16:57:17 -0400
commit9ed551e0a4fdb046d8e5ea779adfd3e184d5dc0d (patch)
tree0aa3d6ae81f2a81fea0ec315a7a3299318d962bb /src/backend/access/transam/parallel.c
parentb32e63506cfec8c8bd3237ec5043de7414564d10 (diff)
downloadpostgresql-9ed551e0a4fdb046d8e5ea779adfd3e184d5dc0d.tar.gz
postgresql-9ed551e0a4fdb046d8e5ea779adfd3e184d5dc0d.zip
Add conninfo to pg_stat_wal_receiver
Commit b1a9bad9e744 introduced a stats view to provide insight into the running WAL receiver, but neglected to include the connection string in it, as reported by Michaël Paquier. This commit fixes that omission. (Any security-sensitive information is not disclosed). While at it, close the mild security hole that we were exposing the password in the connection string in shared memory. This isn't user-accessible, but it still looks like a good idea to avoid having the cleartext password in memory. Author: Michaël Paquier, Álvaro Herrera Review by: Vik Fearing Discussion: https://www.postgresql.org/message-id/CAB7nPqStg4M561obo7ryZ5G+fUydG4v1Ajs1xZT1ujtu+woRag@mail.gmail.com
Diffstat (limited to 'src/backend/access/transam/parallel.c')
0 files changed, 0 insertions, 0 deletions