https://github.com/postgres/postgres
Revision 9ed551e0a4fdb046d8e5ea779adfd3e184d5dc0d authored by Alvaro Herrera on 29 June 2016, 20:57:17 UTC, committed by Alvaro Herrera on 29 June 2016, 20:57:17 UTC
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
1 parent b32e635
History
Tip revision: 9ed551e0a4fdb046d8e5ea779adfd3e184d5dc0d authored by Alvaro Herrera on 29 June 2016, 20:57:17 UTC
Add conninfo to pg_stat_wal_receiver
Tip revision: 9ed551e
File Mode Size
config
contrib
doc
src
.dir-locals.el -rw-r--r-- 738 bytes
.gitattributes -rw-r--r-- 1.7 KB
.gitignore -rw-r--r-- 434 bytes
COPYRIGHT -rw-r--r-- 1.2 KB
GNUmakefile.in -rw-r--r-- 3.6 KB
HISTORY -rw-r--r-- 283 bytes
Makefile -rw-r--r-- 1.5 KB
README -rw-r--r-- 1.2 KB
README.git -rw-r--r-- 727 bytes
aclocal.m4 -rw-r--r-- 384 bytes
configure -rwxr-xr-x 459.3 KB
configure.in -rw-r--r-- 72.9 KB

README

back to top