"Worker" could also mean autovacuum worker or slot sync worker, so
let's be more explicit.
Per Tristan Partin's suggestion.
Discussion: https://www.postgresql.org/message-id/
[email protected]
case -1:
/* in postmaster, fork failed ... */
ereport(LOG,
- (errmsg("could not fork worker process: %m")));
+ (errmsg("could not fork background worker process: %m")));
/* undo what assign_backendlist_entry did */
ReleasePostmasterChildSlot(rw->rw_child_slot);
rw->rw_child_slot = 0;
{
ereport(LOG,
(errcode(ERRCODE_CONFIGURATION_LIMIT_EXCEEDED),
- errmsg("no slot available for new worker process")));
+ errmsg("no slot available for new background worker process")));
return false;
}