Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mAeWz-0007eo-1v for pgsql-hackers@arkaria.postgresql.org; Mon, 02 Aug 2021 20:27:25 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1mAeWw-0004Nu-Jy for pgsql-hackers@arkaria.postgresql.org; Mon, 02 Aug 2021 20:27:22 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mAeWw-0004Nl-CA for pgsql-hackers@lists.postgresql.org; Mon, 02 Aug 2021 20:27:22 +0000 Received: from wout5-smtp.messagingengine.com ([64.147.123.21]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mAeWt-0002wO-Ij for pgsql-hackers@lists.postgresql.org; Mon, 02 Aug 2021 20:27:21 +0000 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.west.internal (Postfix) with ESMTP id 92C3432000E5; Mon, 2 Aug 2021 16:27:16 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Mon, 02 Aug 2021 16:27:16 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:subject:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm3; bh=NYwpdErxVEJBZV8MovA7W6Kayq+rhahQJZwrfQDKGWs=; b=Cixs2enU ZuWjq3djnDIH782ha4dZ30NpaBmWOm+VNoT0Qm3MDwejOnBggsL90dTkY41jbUPS HQGTq1029xcqyHuGzWdujJViSmt3GMeHEfUiWnG3T2YSKXEptJX2mFPAYDIu09s0 KeRYE6C/elWLGnsmsufHxRJiJwEIprvBhwlJDOCvpTub9KZaESMkeqsc5gbclccp vgGzDBnQE61gM2+1rL3DxbRzrGZiP1khM/43OStCcT7dH+SUoJd/Nnjg4b1ZAkim koAFU7qjj1fDV0yWahEi4eUdnLcbRvfg0waMYSPIK95biWIQe3GKHd/H0Ga/wUey cG4+yDtpaO2lkA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvtddriedvgddufeejucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfffhvffukfggtggugfgjsehtkeertddttdejnecuhfhrohhmpeetlhhvrghr ohcujfgvrhhrvghrrgcuoegrlhhvhhgvrhhrvgesrghlvhhhrdhnohdqihhprdhorhhgqe enucggtffrrghtthgvrhhnpedujeevjeffjeevuddutedvkeeiueeitddvieelfeekveej udefgeeuvdejhfeuleenucffohhmrghinhepvghnthgvrhhprhhishgvuggsrdgtohhmne cuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheprghlvhhh vghrrhgvsegrlhhvhhdrnhhoqdhiphdrohhrgh X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 2 Aug 2021 16:27:15 -0400 (EDT) Received: by perhan.alvh.no-ip.org (Postfix, from userid 1000) id ED0692A0918; Mon, 2 Aug 2021 16:27:12 -0400 (-04) Date: Mon, 2 Aug 2021 16:27:12 -0400 From: Alvaro Herrera To: Robert Haas Cc: "Bossart, Nathan" , Bharath Rupireddy , "pgsql-hackers@lists.postgresql.org" Subject: Re: make MaxBackends available in _PG_init Message-ID: <202108022027.htenndbyvr2d@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 2021-Aug-02, Robert Haas wrote: > On Mon, Aug 2, 2021 at 2:18 PM Bossart, Nathan wrote: > > > > I think the comments about needing to register background workers > > before initializing MaxBackends have been incorrect since the addition > > of max_worker_processes in v9.4 (6bc8ef0b). > I think this is a good idea. Anyone object? No objection here. AFAICS Nathan is correct. -- Álvaro Herrera PostgreSQL Developer — https://www.EnterpriseDB.com/ "Los dioses no protegen a los insensatos. Éstos reciben protección de otros insensatos mejor dotados" (Luis Wu, Mundo Anillo)