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
Views: Raw Message | Whole Thread | Download mbox | Resend email
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

Browse pgsql-admin by date

  From Date Subject
Next Message Michael Monnerie 2008-06-30 15:40:54 Re: Recommended RAID for Postgres
Previous Message Tino Schwarze 2008-06-30 13:35:42 Re: Recommended RAID for Postgres