pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Windows xp initdb POSTGRES_SUPERUSERNAME
2+ messages / 2 participants
[nested] [flat]

* Windows xp initdb POSTGRES_SUPERUSERNAME
@ 2008-06-30 07:05 Jan-Peter Seifert <Jan-Peter.Seifert@gmx.de>
  2008-06-30 15:04 ` Re: Windows xp initdb POSTGRES_SUPERUSERNAME Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 1 reply; 2+ messages in thread

From: Jan-Peter Seifert @ 2008-06-30 07:05 UTC (permalink / raw)
  To: pgsql-admin

Hello,

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?
Could you tell me, please?

Thank you very much,

Peter Seifert
-- 
Psssst! Schon vom neuen GMX MultiMessenger gehört?
Der kann`s mit allen: http://www.gmx.net/de/go/multimessenger



^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: Windows xp initdb POSTGRES_SUPERUSERNAME
  2008-06-30 07:05 Windows xp initdb POSTGRES_SUPERUSERNAME Jan-Peter Seifert <Jan-Peter.Seifert@gmx.de>
@ 2008-06-30 15:04 ` Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 2+ messages in thread

From: Tom Lane @ 2008-06-30 15:04 UTC (permalink / raw)
  To: Jan-Peter Seifert <Jan-Peter.Seifert@gmx.de>; +Cc: pgsql-admin

"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



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2008-06-30 15:04 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2008-06-30 07:05 Windows xp initdb POSTGRES_SUPERUSERNAME Jan-Peter Seifert <Jan-Peter.Seifert@gmx.de>
2008-06-30 15:04 ` Tom Lane <tgl@sss.pgh.pa.us>

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