Received: from localhost (unknown [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id 762B8650EA0 for ; Mon, 30 Jun 2008 12:04:49 -0300 (ADT) Received: from postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 60028-10 for ; Mon, 30 Jun 2008 12:04:42 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by postgresql.org (Postfix) with ESMTP id 46C16650E80 for ; Mon, 30 Jun 2008 12:04:42 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.2/8.14.2) with ESMTP id m5UF4dUG028416; Mon, 30 Jun 2008 11:04:39 -0400 (EDT) To: "Jan-Peter Seifert" cc: pgsql-admin@postgresql.org Subject: Re: Windows xp initdb POSTGRES_SUPERUSERNAME In-reply-to: <20080630070518.323550@gmx.net> References: <20080630070518.323550@gmx.net> Comments: In-reply-to "Jan-Peter Seifert" message dated "Mon, 30 Jun 2008 09:05:18 +0200" Date: Mon, 30 Jun 2008 11:04:39 -0400 Message-ID: <28415.1214838279@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200806/248 X-Sequence-Number: 29586 "Jan-Peter Seifert" 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