Re: [PATCH] initdb: Treat empty -U argument as unset username

Поиск
Список
Период
Сортировка
От Daniel Gustafsson
Тема Re: [PATCH] initdb: Treat empty -U argument as unset username
Дата
Msg-id 0231C713-50C8-4BE5-B7C8-106F57A79655@yesql.se
обсуждение исходный текст
Ответ на Re: [PATCH] initdb: Treat empty -U argument as unset username  (Robert Treat <rob@xzilla.net>)
Список pgsql-hackers
> On 2 Jul 2025, at 06:31, Robert Treat <rob@xzilla.net> wrote:

> FWIW, I tend to agree with David; I feel like if a user passes in -U,
> there was probably a reason, and a good error message would be more
> useful in clarifying things rather than blindly pushing forward with
> potentially the wrong thing.

Agreed, and it's not even clear that the previous code was intentionally trying
to allow an empty -U. An improved error message would be a good patch though.

--
Daniel Gustafsson




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