Unify some error messages

pull/163/head
Peter Eisentraut 2 years ago
parent c61c0cb3a9
commit 95b44bb025
  1. 2
      contrib/pg_prewarm/autoprewarm.c
  2. 2
      src/backend/postmaster/bgworker.c

@ -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…
Cancel
Save