Unify some error messages
This commit is contained in:
parent
c61c0cb3a9
commit
95b44bb025
|
@ -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
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue