aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMagnus Hagander <magnus@hagander.net>2014-01-19 13:27:22 +0100
committerMagnus Hagander <magnus@hagander.net>2014-01-19 13:27:22 +0100
commit4b8f2859ccc4fe1e9b66fbdb332b830b69a9d6cf (patch)
tree986602f5e69e0ec6146b760a68f8feaef743a14b /src
parent5254958e924cd54f33d37026d85483fef986060d (diff)
downloadpostgresql-4b8f2859ccc4fe1e9b66fbdb332b830b69a9d6cf.tar.gz
postgresql-4b8f2859ccc4fe1e9b66fbdb332b830b69a9d6cf.zip
Adjust the SSL connection notification message
Suggested by Tom
Diffstat (limited to 'src')
-rw-r--r--src/backend/utils/init/postinit.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/utils/init/postinit.c b/src/backend/utils/init/postinit.c
index 258108165fc..3ecc4d3ae0d 100644
--- a/src/backend/utils/init/postinit.c
+++ b/src/backend/utils/init/postinit.c
@@ -234,7 +234,7 @@ PerformAuthentication(Port *port)
#ifdef USE_SSL
if (port->ssl)
ereport(LOG,
- (errmsg("replication connection authorized: user=%s SSL(protocol: %s, cipher: %s) enabled",
+ (errmsg("replication connection authorized: user=%s SSL enabled (protocol=%s, cipher=%s)",
port->user_name, SSL_get_version(port->ssl), SSL_get_cipher(port->ssl))));
else
#endif
@@ -247,7 +247,7 @@ PerformAuthentication(Port *port)
#ifdef USE_SSL
if (port->ssl)
ereport(LOG,
- (errmsg("connection authorized: user=%s database=%s SSL(protocol: %s, cipher: %s) enabled",
+ (errmsg("connection authorized: user=%s database=%s SSL enabled (protocol=%s, cipher=%s)",
port->user_name, port->database_name, SSL_get_version(port->ssl), SSL_get_cipher(port->ssl))));
else
#endif