pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Jan-Peter Seifert <Jan-Peter.Seifert@gmx.de>
Cc: pgsql-admin@postgresql.org
Subject: Re: Windows xp initdb POSTGRES_SUPERUSERNAME
Date: Mon, 30 Jun 2008 11:04:39 -0400
Message-ID: <28415.1214838279@sss.pgh.pa.us> (raw)
In-Reply-To: <20080630070518.323550@gmx.net>
References: <20080630070518.323550@gmx.net>

"Jan-Peter Seifert" <Jan-Peter.Seifert@gmx.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



view thread (2+ messages)

Message-ID: <28415.1214838279@sss.pgh.pa.us>
Permalink:  ../28415.1214838279@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/28415.1214838279@sss.pgh.pa.us

 · 

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: pgsql-admin@postgresql.org
  Cc: tgl@sss.pgh.pa.us, Jan-Peter.Seifert@gmx.de
  Subject: Re: Windows xp initdb POSTGRES_SUPERUSERNAME
  In-Reply-To: <28415.1214838279@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox