Re: BUG #15006: "make check" error if current user is "user" - Mailing list pgsql-bugs

From Alvaro Herrera
Subject Re: BUG #15006: "make check" error if current user is "user"
Date
Msg-id 20180118185819.pwvzqjaumvaeoaas@alvherre.pgsql
Whole thread Raw
In response to Re: BUG #15006: "make check" error if current user is "user"  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-bugs
Tom Lane wrote:
> Michael Paquier <michael.paquier@gmail.com> 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.

Have at it.

This all comes from
https://www.postgresql.org/message-id/20141010.172740.88258644.horiguchi.kyotaro@lab.ntt.co.jp
which ended up as commit 31eae6028eca4365e7165f5f33fee1ed0486aee0 (with
a couple of fixups afterwards).

-- 
Álvaro Herrera                https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services


pgsql-bugs by date:

Previous
From: Joe Conway
Date:
Subject: Re: BUG #15006: "make check" error if current user is "user"
Next
From: Dave Cramer
Date:
Subject: Re: BUG #15013: JNI-JDBC: org.postgresql.util.PSQLException: FEHLER: ungültiges Message-Format