Re: psql: FATAL: role "postgres" does not exist

From: Scott Marlowe <scott(dot)marlowe(at)gmail(dot)com>
To: Martin Gainty <mgainty(at)hotmail(dot)com>
Cc: "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: Re: psql: FATAL: role "postgres" does not exist
Date: 2009-09-27 01:29:30
Message-ID: dcc563d10909261829t5e1bf10fl8d938b184dc5b431@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

2009/9/26 Martin Gainty <mgainty(at)hotmail(dot)com>:
> All-
>
> when starting postgres what does this error mean exactly?
> psql: FATAL:  role "postgres" does not exist
>
> what is the exact solution for psql: FATAL:  role "postgres" does not exist
> error?

That's not an error starting postgresql, it's an error starting psql.
Postgresql, by default, sets ownership of the cluster files and
creates a login role for the username used to run initdb. So, what
username was used to run initdb?

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Scott Marlowe 2009-09-27 01:44:09 Re: psql: FATAL: role "postgres" does not exist
Previous Message Martin Gainty 2009-09-27 01:24:09 psql: FATAL: role "postgres" does not exist