Re: BUG #15006: "make check" error if current user is "user"

Поиск
Список
Период
Сортировка
От Sergey Burladyan
Тема Re: BUG #15006: "make check" error if current user is "user"
Дата
Msg-id 87fu7253uk.fsf@gmail.com
обсуждение исходный текст
Ответ на Re: BUG #15006: "make check" error if current user is "user"  (Tomas Vondra <tomas.vondra@2ndquadrant.com>)
Список 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


Вложения

В списке pgsql-bugs по дате отправления:

Предыдущее
От: Greg Clough
Дата:
Сообщение: RE: BUG #15016: Pgadmin 4_2.1 BUG
Следующее
От: PG Bug reporting form
Дата:
Сообщение: BUG #15018: yum install postgis24_96 failure