1
0
mirror of https://github.com/postgres/postgres.git synced 2026-10-23 13:29:09 +03:00

Message style fixes

This commit is contained in:
Peter Eisentraut
2026-08-18 14:08:14 +02:00
parent 70b7e968d5
commit 033f39e694
2 changed files with 3 additions and 3 deletions

View File

@@ -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;

View File

@@ -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;
}