Re: [PATCH] initdb: Treat empty -U argument as unset username - Mailing list pgsql-hackers

From David G. Johnston
Subject Re: [PATCH] initdb: Treat empty -U argument as unset username
Date
Msg-id CAKFQuwbVK=oANp9XLdQknd7o9jJOUFQanUtG3QAh-3kuaM5tJw@mail.gmail.com
Whole thread Raw
In response to [PATCH] initdb: Treat empty -U argument as unset username  (Jianghua Yang <yjhjstz@gmail.com>)
List pgsql-hackers
On Tue, Jul 1, 2025 at 7:56 PM Jianghua Yang <yjhjstz@gmail.com> wrote:
Let me know if this approach seems reasonable or if you’d prefer we explicitly reject empty usernames with an error instead.


I'd rather we reject the ambiguous input.

David J.

pgsql-hackers by date:

Previous
From: Jianghua Yang
Date:
Subject: [PATCH] initdb: Treat empty -U argument as unset username
Next
From: wenhui qiu
Date:
Subject: Re: Making pg_rewind faster