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.