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 1oWerA-0007yZ-03 for pgsql-hackers@arkaria.postgresql.org; Fri, 09 Sep 2022 14:19:44 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1oWer8-0005Uo-IP for pgsql-hackers@arkaria.postgresql.org; Fri, 09 Sep 2022 14:19:42 +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 1oWer8-0005Ue-90 for pgsql-hackers@lists.postgresql.org; Fri, 09 Sep 2022 14:19:42 +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 1oWer5-0000jN-IA for pgsql-hackers@lists.postgresql.org; Fri, 09 Sep 2022 14:19:41 +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 289EJZjo112792; Fri, 9 Sep 2022 10:19:35 -0400 From: Tom Lane To: "Drouvot, Bertrand" cc: Jacob Champion , PostgreSQL Hackers Subject: Re: Patch proposal: make use of regular expressions for the username in pg_hba.conf In-reply-to: <1128e76f-e828-b579-4646-05e8cb021d0e@amazon.com> References: <4177827.1662684400@sss.pgh.pa.us> <1128e76f-e828-b579-4646-05e8cb021d0e@amazon.com> Comments: In-reply-to "Drouvot, Bertrand" message dated "Fri, 09 Sep 2022 12:31:08 +0200" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <112790.1662733175.1@sss.pgh.pa.us> Date: Fri, 09 Sep 2022 10:19:35 -0400 Message-ID: <112791.1662733175@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk "Drouvot, Bertrand" writes: > Agree that it seems unlikely but maybe we could add a new GUC to turn > the regex usage on the hba file on/off (and use off as the default)? I think that will just add useless complication. regards, tom lane