agora inbox for pgsql-hackers@postgresql.org  
help / color / mirror / Atom feed
From: Nathan Bossart <nathandbossart@gmail.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-hackers@postgresql.org
Subject: Re: remove check hooks for GUCs that contribute to MaxBackends
Date: Wed, 19 Jun 2024 14:24:08 -0500
Message-ID: <ZnMwWCnhmIEw31BW@nathan> (raw)
In-Reply-To: <148099.1718824456@sss.pgh.pa.us>
References: <ZnMr2k-Nk5vj7T7H@nathan>
	<148099.1718824456@sss.pgh.pa.us>

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





view thread (5+ messages)  latest in thread

Message-ID: <ZnMwWCnhmIEw31BW@nathan>
Permalink:  ../ZnMwWCnhmIEw31BW@nathan/
Also on:    postgresql.org/message-id/ZnMwWCnhmIEw31BW@nathan

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-hackers@postgresql.org
  Cc: nathandbossart@gmail.com, tgl@sss.pgh.pa.us
  Subject: Re: remove check hooks for GUCs that contribute to MaxBackends
  In-Reply-To: <ZnMwWCnhmIEw31BW@nathan>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox