Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ec0Ie-00085R-IL for pgsql-bugs@arkaria.postgresql.org; Thu, 18 Jan 2018 02:51:32 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ec0Id-0001en-LA for pgsql-bugs@arkaria.postgresql.org; Thu, 18 Jan 2018 02:51:31 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1ec0Id-0001ee-Fb for pgsql-bugs@lists.postgresql.org; Thu, 18 Jan 2018 02:51:31 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1ec0IW-0007ue-F9 for pgsql-bugs@lists.postgresql.org; Thu, 18 Jan 2018 02:51:31 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id w0I2pLI5013227; Wed, 17 Jan 2018 21:51:21 -0500 From: Tom Lane To: Michael Paquier cc: "David G. Johnston" , Tomas Vondra , eshkinkot@gmail.com, pgsql-bugs@lists.postgresql.org Subject: Re: BUG #15006: "make check" error if current user is "user" In-reply-to: <20180118022706.GF29962@paquier.xyz> References: <20180111125319.1423.23692@wrigleys.postgresql.org> <3568.1516234863@sss.pgh.pa.us> <20180118013509.GC29962@paquier.xyz> <10654.1516241706@sss.pgh.pa.us> <20180118022706.GF29962@paquier.xyz> Comments: In-reply-to Michael Paquier message dated "Thu, 18 Jan 2018 11:27:06 +0900" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <13225.1516243881.1@sss.pgh.pa.us> Date: Wed, 17 Jan 2018 21:51:21 -0500 Message-ID: <13226.1516243881@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Michael Paquier writes: > On Wed, Jan 17, 2018 at 09:15:06PM -0500, Tom Lane wrote: >> Probably the OP would not be very happy if the outcome of this discussion >> is that "initdb -U user" fails, but I am not seeing a principled reason >> why that should be allowed. > Me neither. Alternatively, we could consider removing all these artificial restrictions on what a username can be, and just expecting the DBA to know what he's doing. But what we've got right now is weirdly inconsistent. regards, tom lane