Re: remove check hooks for GUCs that contribute to MaxBackends

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

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.

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Nathan Bossart 2024-06-19 19:24:08 Re: remove check hooks for GUCs that contribute to MaxBackends
Previous Message Tom Lane 2024-06-19 19:09:36 Re: remove check hooks for GUCs that contribute to MaxBackends