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

From Sergey Burladyan
Subject Re: BUG #15006: "make check" error if current user is "user"
Date
Msg-id 87fu7253uk.fsf@gmail.com
Whole thread Raw
In response to Re: BUG #15006: "make check" error if current user is "user"  (Tomas Vondra <tomas.vondra@2ndquadrant.com>)
List pgsql-bugs
Tomas Vondra <tomas.vondra@2ndquadrant.com> writes:

> Of course, a particularly strange distribution could still pick a
> conflicting OS name, but that seems rather unlikely, I guess.

Why the tests depend and use current OS user name? I think it's not very
good (if you does not test exactly that, of course).

If you enforce user name for temporary initdb cluster and use this
name for connection in tests, then you does not depends on OS name at
all, something like this (see attachment).

With this patch "make check-world" run successfully with OS name "user"
and "current_user".

-- 
Sergey Burladyan


Attachment

pgsql-bugs by date:

Previous
From: Greg Clough
Date:
Subject: RE: BUG #15016: Pgadmin 4_2.1 BUG
Next
From: PG Bug reporting form
Date:
Subject: BUG #15018: yum install postgis24_96 failure