Re: remove check hooks for GUCs that contribute to MaxBackends

From: Nathan Bossart <nathandbossart(at)gmail(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: remove check hooks for GUCs that contribute to MaxBackends
Date: 2024-06-19 19:24:08
Message-ID: ZnMwWCnhmIEw31BW@nathan
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Wed, Jun 19, 2024 at 03:14:16PM -0400, Tom Lane wrote:
> Nathan Bossart <nathandbossart(at)gmail(dot)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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Alexander Korotkov 2024-06-19 19:35:49 Re: Missing docs for new enable_group_by_reordering GUC
Previous Message Tom Lane 2024-06-19 19:14:16 Re: remove check hooks for GUCs that contribute to MaxBackends