Unify some error messages

This commit is contained in:
Peter Eisentraut 2024-06-20 11:10:26 +02:00
parent c61c0cb3a9
commit 95b44bb025
2 changed files with 2 additions and 2 deletions

View file

@ -867,7 +867,7 @@ apw_start_database_worker(void)
ereport(ERROR,
(errcode(ERRCODE_INSUFFICIENT_RESOURCES),
errmsg("registering dynamic bgworker autoprewarm failed"),
errhint("Consider increasing configuration parameter \"max_worker_processes\".")));
errhint("Consider increasing the configuration parameter \"%s\".", "max_worker_processes")));
/*
* Ignore return value; if it fails, postmaster has died, but we have

View file

@ -928,7 +928,7 @@ RegisterBackgroundWorker(BackgroundWorker *worker)
"Up to %d background workers can be registered with the current settings.",
max_worker_processes,
max_worker_processes),
errhint("Consider increasing the configuration parameter \"max_worker_processes\".")));
errhint("Consider increasing the configuration parameter \"%s\".", "max_worker_processes")));
return;
}