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

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Jianghua Yang <yjhjstz(at)gmail(dot)com>
Cc: Peter Eisentraut <peter(at)eisentraut(dot)org>, pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: Re: [PATCH] initdb: Treat empty -U argument as unset username
Date: 2025-07-05 17:34:13
Message-ID: 10700.1751736853@sss.pgh.pa.us
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Jianghua Yang <yjhjstz(at)gmail(dot)com> writes:
> I wanted to ask if this patch can be merged first, as it seems to be a
> separate issue different from the aclitem parsing problem Tom discussed in
> https://www.postgresql.org/message-id/3792884.1751492172%40sss.pgh.pa.us

Merging your patch will make it more difficult to poke at these
underlying issues, so I'm not in a hurry to do that. It's not
like this is an urgent issue: initdb has behaved like that for
years if not decades, and nobody's complained before.

regards, tom lane

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message shawn wang 2025-07-05 17:47:08 Re: Trim the heap free memory
Previous Message Tom Lane 2025-07-05 17:23:13 Re: A assert failure when initdb with track_commit_timestamp=on