Re: remove check hooks for GUCs that contribute to MaxBackends - Mailing list pgsql-hackers

From Nathan Bossart
Subject Re: remove check hooks for GUCs that contribute to MaxBackends
Date
Msg-id ZnMwWCnhmIEw31BW@nathan
Whole thread Raw
In response to Re: remove check hooks for GUCs that contribute to MaxBackends  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: remove check hooks for GUCs that contribute to MaxBackends
List pgsql-hackers
On Wed, Jun 19, 2024 at 03:14:16PM -0400, Tom Lane wrote:
> Nathan Bossart <nathandbossart@gmail.com> writes:
>> The attached patch removes these hooks and enhances the error message to
>> look like this:
> 
>>     FATAL:  too many backends configured
>>     DETAIL:  "max_connections" (262100) plus "autovacuum_max_workers" (3) plus "max_worker_processes" (8) plus
"max_wal_senders"(10000) must be less than 262142.
 
> 
> BTW, I suggest writing it as "too many server processes configured",
> or perhaps "too many server processes required".  "Backend" is too
> much of an insider term.

Will do, thanks for reviewing.

-- 
nathan



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: remove check hooks for GUCs that contribute to MaxBackends
Next
From: Alexander Korotkov
Date:
Subject: Re: Missing docs for new enable_group_by_reordering GUC