Re: Changing postgres User - Mailing list pgsql-general

From Tom Lane
Subject Re: Changing postgres User
Date
Msg-id 3836255.1728944861@sss.pgh.pa.us
Whole thread Raw
In response to Re: Changing postgres User  (Zac Warham <cazwarham@hotmail.com>)
List pgsql-general
Zac Warham <cazwarham@hotmail.com> writes:
> Thank you for the link to the documentation however it is the UID and GID of 1001:1001 that is required, not the
usernamewhich I believe this is intended for? Is there a similar option for UID and GID? Apologies if my original
questionwas 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



pgsql-general by date:

Previous
From: Zac Warham
Date:
Subject: Re: Changing postgres User
Next
From: Adrian Klaver
Date:
Subject: Re: Changing postgres User