public inbox for [email protected]
help / color / mirror / Atom feedFrom: Tom Lane <[email protected]>
To: Zac Warham <[email protected]>
Cc: Adrian Klaver <[email protected]>
Cc: [email protected] <[email protected]>
Subject: Re: Changing postgres User
Date: Mon, 14 Oct 2024 18:27:41 -0400
Message-ID: <[email protected]> (raw)
In-Reply-To: <ME3P282MB3328FDD3AD68DFD183B1E9A4B7442@ME3P282MB3328.AUSP282.PROD.OUTLOOK.COM>
References: <ME3P282MB33285BBA32907655287F4AD9B7442@ME3P282MB3328.AUSP282.PROD.OUTLOOK.COM>
<[email protected]>
<ME3P282MB3328FDD3AD68DFD183B1E9A4B7442@ME3P282MB3328.AUSP282.PROD.OUTLOOK.COM>
Zac Warham <[email protected]> writes:
> Thank you for the link to the documentation however it is the UID and GID of 1001:1001 that is required, not the username which I believe this is intended for? Is there a similar option for UID and GID? Apologies if my original question was not clear in this manner.
The underlying UID/GID will necessarily be that of the OS account that
is running initdb. I don't see why you need to worry about it.
If you don't want the Postgres role name of the initial superuser role
to be the same as the OS account's name, you can select something else
using the switch Adrian mentioned --- but that's really mostly
cosmetic. It has nothing to do with OS-level privileges.
regards, tom lane
view thread (4+ messages) latest in thread
reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: [email protected]
Cc: [email protected], [email protected], [email protected], [email protected]
Subject: Re: Changing postgres User
In-Reply-To: <[email protected]>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox