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 1nuL8k-00068J-5q for pgsql-bugs@arkaria.postgresql.org; Thu, 26 May 2022 21:35:30 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1nuL8h-0007Um-Ao for pgsql-bugs@arkaria.postgresql.org; Thu, 26 May 2022 21:35:27 +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 1nuL8h-0007Ud-2c for pgsql-bugs@lists.postgresql.org; Thu, 26 May 2022 21:35:27 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nuL8Y-0003Pp-0v for pgsql-bugs@lists.postgresql.org; Thu, 26 May 2022 21:35:24 +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 24QLZDpB2457146; Thu, 26 May 2022 17:35:13 -0400 From: Tom Lane To: David Steele cc: "Suralkar, Yogendra (Yogendra)" , "pgsql-bugs@lists.postgresql.org" , "Porob, Dattaram (Datta)" , "Oswal, Prashant (Prashant) **CTR**" , "Patil, Parag (Parag)" , "Devaraj, Sankar (Sankar)" , "Singh, Payal (Payal) **CTR**" Subject: Re: Unable to connect to PostgreSQL DB as root user when private key is owned by root with permission 640 In-reply-to: References: <335500.1653058186@sss.pgh.pa.us> <1719047.1653422732@sss.pgh.pa.us> <2af73dd7-6ea2-b5f2-9b35-76e6a8f2a54a@pgmasters.net> <2415119.1653588981@sss.pgh.pa.us> Comments: In-reply-to David Steele message dated "Thu, 26 May 2022 16:01:49 -0400" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <2457144.1653600913.1@sss.pgh.pa.us> Date: Thu, 26 May 2022 17:35:13 -0400 Message-ID: <2457145.1653600913@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk David Steele writes: > On 5/26/22 2:16 PM, Tom Lane wrote: >>> * This puts us back into a situation where the frontend and server tests >>> are not in sync. Do we want to relax the server's checks to match this, >>> or just leave that side as it stands? >> Yeah, I'm unenthused now about touching this in the back branches. >> But do we want to do it in HEAD, or just leave well enough alone? > After thinking on it for a bit I believe we should leave well enough > alone. This code is rarely touched so I don't think it's a very big deal. Agreed. We changed it because we thought the two chunks of code were satisfying identical constraints, but evidently that's not so. At least the situation is better documented now. regards, tom lane