diff --git a/src/backend/access/transam/slru.c b/src/backend/access/transam/slru.c index 47dd52d6749..885fd068535 100644 --- a/src/backend/access/transam/slru.c +++ b/src/backend/access/transam/slru.c @@ -1135,12 +1135,12 @@ SlruReportIOError(SlruDesc *ctl, int64 pageno, const void *opaque_data) if (errno) ereport(ERROR, (errcode_for_file_access(), - errmsg("Could not write to file \"%s\" at offset %d: %m", + errmsg("could not write to file \"%s\" at offset %d: %m", path, offset), opaque_data ? ctl->options.errdetail_for_io_error(opaque_data) : 0)); else ereport(ERROR, - (errmsg("Could not write to file \"%s\" at offset %d: wrote too few bytes.", + (errmsg("could not write to file \"%s\" at offset %d: wrote too few bytes", path, offset), opaque_data ? ctl->options.errdetail_for_io_error(opaque_data) : 0)); break; diff --git a/src/backend/libpq/be-secure-openssl.c b/src/backend/libpq/be-secure-openssl.c index 675bf2de5b2..b7ded8a0250 100644 --- a/src/backend/libpq/be-secure-openssl.c +++ b/src/backend/libpq/be-secure-openssl.c @@ -366,7 +366,7 @@ be_tls_init(bool isServerStart) errcode(ERRCODE_CONFIG_FILE_ERROR), errmsg("no SSL configurations loaded"), /*- translator: The two %s contain filenames */ - errhint("If ssl_sni is enabled then add configuration to \"%s\", else \"%s\"", + errhint("If ssl_sni is enabled then add configuration to \"%s\", else \"%s\".", HostsFileName, "postgresql.conf")); goto error; }