Skip site navigation (1) Skip section navigation (2)

Re: Windows xp initdb POSTGRES_SUPERUSERNAME

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Jan-Peter Seifert" <Jan-Peter(dot)Seifert(at)gmx(dot)de>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: Windows xp initdb POSTGRES_SUPERUSERNAME
Date: 2008-06-30 15:04:39
Message-ID: 28415.1214838279@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-admin
"Jan-Peter Seifert" <Jan-Peter(dot)Seifert(at)gmx(dot)de> writes:
> I wonder what this variable in initdb is about: POSTGRES_SUPERUSERNAME
> Apparently the default should be 'postgres'. However, the value changes with the user that is logged in whenever I use 'initdb --show'. If I login as 'xy' the value is 'xy'. Shouldn't this be a fixed value in the cluster?

No, that's exactly the expected behavior.  The username of the user who
runs initdb is used.

			regards, tom lane

In response to

pgsql-admin by date

Next:From: Michael MonnerieDate: 2008-06-30 15:40:54
Subject: Re: Recommended RAID for Postgres
Previous:From: Tino SchwarzeDate: 2008-06-30 13:35:42
Subject: Re: Recommended RAID for Postgres

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group