1
0
mirror of https://github.com/postgres/postgres.git synced 2025-11-04 20:11:56 +03:00

Error message refactoring

Take some untranslatable things out of the message and replace by
format placeholders, to reduce translatable strings and reduce
translation mistakes.
This commit is contained in:
Peter Eisentraut
2023-06-23 16:36:17 +02:00
parent b63cda34e2
commit 3ad5f07c0f
4 changed files with 12 additions and 12 deletions

View File

@@ -422,7 +422,7 @@ retry:
ereport(WARNING,
(errcode(ERRCODE_CONFIGURATION_LIMIT_EXCEEDED),
errmsg("out of logical replication worker slots"),
errhint("You might need to increase max_logical_replication_workers.")));
errhint("You might need to increase %s.", "max_logical_replication_workers")));
return false;
}
@@ -496,7 +496,7 @@ retry:
ereport(WARNING,
(errcode(ERRCODE_CONFIGURATION_LIMIT_EXCEEDED),
errmsg("out of background worker slots"),
errhint("You might need to increase max_worker_processes.")));
errhint("You might need to increase %s.", "max_worker_processes")));
return false;
}