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:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user