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

From: "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>
To: Jianghua Yang <yjhjstz(at)gmail(dot)com>
Cc: pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: Re: [PATCH] initdb: Treat empty -U argument as unset username
Date: 2025-07-02 03:11:58
Message-ID: CAKFQuwbVK=oANp9XLdQknd7o9jJOUFQanUtG3QAh-3kuaM5tJw@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Tue, Jul 1, 2025 at 7:56 PM Jianghua Yang <yjhjstz(at)gmail(dot)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.

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message wenhui qiu 2025-07-02 03:16:25 Re: Making pg_rewind faster
Previous Message Jianghua Yang 2025-07-02 02:55:49 [PATCH] initdb: Treat empty -U argument as unset username