Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1r9DMB-00FEq6-GC for pgsql-hackers@arkaria.postgresql.org; Fri, 01 Dec 2023 23:55:39 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1r9DM9-009re8-CD for pgsql-hackers@arkaria.postgresql.org; Fri, 01 Dec 2023 23:55:37 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1r9DM9-009re0-2i for pgsql-hackers@lists.postgresql.org; Fri, 01 Dec 2023 23:55:37 +0000 Received: from sss.pgh.pa.us ([68.162.161.243]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1r9DM6-009dVF-B7 for pgsql-hackers@postgresql.org; Fri, 01 Dec 2023 23:55:36 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 3B1NtMYX266006; Fri, 1 Dec 2023 18:55:22 -0500 From: Tom Lane To: "Tristan Partin" cc: "Heikki Linnakangas" , "Alexander Lakhin" , "Andres Freund" , "pgsql-hackers" , "Thomas Munro" Subject: Re: Refactoring backend fork+exec code In-reply-to: References: <7a59b073-5b5b-151e-7ed3-8b01ff7ce9ef@iki.fi> <20230710225043.svl7fqxecwshwc7a@awork3.anarazel.de> <119551e6-60f6-49b2-ae04-a382a89f900c@iki.fi> <3b02a5a1-81ea-44e4-a09e-c0a594a4cef8@iki.fi> <014768ed-8b39-c44f-b07c-098c87b1644c@gmail.com> Comments: In-reply-to "Tristan Partin" message dated "Fri, 01 Dec 2023 15:11:49 -0600" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <266004.1701474922.1@sss.pgh.pa.us> Date: Fri, 01 Dec 2023 18:55:22 -0500 Message-ID: <266005.1701474922@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk "Tristan Partin" writes: > On Fri Dec 1, 2023 at 2:44 PM CST, Heikki Linnakangas wrote: >> Committed a fix with memset(). I'm not sure what our policy with >> backpatching this kind of issues is. This goes back to all supported >> versions, but given the lack of complaints, I chose to not backpatch. > Seems like a harmless think to backpatch. It is conceivable that someone > might want to run Valgrind on something other than HEAD. FWIW, I agree with Heikki's conclusion. EXEC_BACKEND on non-Windows is already a niche developer-only setup, and given the lack of complaints, nobody's that interested in running Valgrind with it. Fixing it on HEAD seems like plenty. regards, tom lane