From 4b8f2859ccc4fe1e9b66fbdb332b830b69a9d6cf Mon Sep 17 00:00:00 2001
From: Magnus Hagander <magnus@hagander.net>
Date: Sun, 19 Jan 2014 13:27:22 +0100
Subject: [PATCH] Adjust the SSL connection notification message

Suggested by Tom
---
 src/backend/utils/init/postinit.c | 4 ++--
 1 file 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
-- 
GitLab