diff --git a/src/backend/libpq/be-secure-openssl.c b/src/backend/libpq/be-secure-openssl.c index 9a29f0cfb6d..10b035aed03 100644 --- a/src/backend/libpq/be-secure-openssl.c +++ b/src/backend/libpq/be-secure-openssl.c @@ -602,8 +602,10 @@ error: { ereport(WARNING, errcode(ERRCODE_CONFIG_FILE_ERROR), - errmsg("SSL configuration not reloaded, SNI remains %s", SSL_hosts->sni_enabled ? "on" : "off"), - errdetail("The SSL configuration failed to reload, previous configuration and SNI state will remain active.")); + SSL_hosts->sni_enabled ? + errmsg("SSL configuration not reloaded, SNI remains on") : + errmsg("SSL configuration not reloaded, SNI remains off"), + errdetail("The SSL configuration failed to reload; the previous configuration and SNI state will remain active.")); } MemoryContextSwitchTo(oldcxt);