Re: initdb username doc bug - Mailing list pgsql-docs

From David G. Johnston
Subject Re: initdb username doc bug
Date
Msg-id CAKFQuwadqy=7mhh8usoV=yNvrsEg48tUhB31PAPsVFW7vqfeLA@mail.gmail.com
Whole thread Raw
In response to Re: initdb username doc bug  ("David G. Johnston" <david.g.johnston@gmail.com>)
Responses Re: initdb username doc bug
List pgsql-docs


On Saturday, January 6, 2024, David G. Johnston <david.g.johnston@gmail.com> wrote:
On Saturday, January 6, 2024, Bruce Momjian <bruce@momjian.us> wrote:

        geteuid() returns the effective user ID of the calling process.

so it is not the owner of the data dirctory, but the installation user.

I am open to saying that it is the owner of the data directory but we
would then need to change initdb to do that, and we aren't going to
backpatch that.

So maybe a new defined term “cluster initializer”?

Or just the bit more verbose “user running the initdb command” and don’t bother giving it a label, which is basically the approach used in the description for initdb anyway.

David J.

 

pgsql-docs by date:

Previous
From: "David G. Johnston"
Date:
Subject: Re: initdb username doc bug
Next
From: Tom Lane
Date:
Subject: Re: initdb username doc bug