Re: psql: FATAL: role "postgres" does not exist - Mailing list pgsql-general

From Scott Marlowe
Subject Re: psql: FATAL: role "postgres" does not exist
Date
Msg-id dcc563d10909261912y498b6d9n1eecdb24b426cd8c@mail.gmail.com
Whole thread Raw
In response to pg_buffercache - A lot of "unnamed" relfilenodes?  (Gerhard Wiesinger <lists@wiesinger.com>)
Responses Re: psql: FATAL: role "postgres" does not exist
List pgsql-general
On Sat, Sep 26, 2009 at 8:10 PM, Martin Gainty <mgainty@hotmail.com> wrote:
> partial victory but
> im baffled i started all commands with RUNAS /user:postgres
> cd /postgres/pgctl/bin
> RUNAS /user:postgres "initdb.exe -D /data"
> RUNAS /user:postgres ""pg_ctl.exe" -D "/data" -l logfile start"
> RUNAS /user:postgres "postgres.exe -D /data"
>
> but to get into postgres i have to
> psql -u Admin
>
> now when i do
> postgres-# \du
>               List of roles
>    Role name   | Attributes  | Member of
> ---------------+-------------+-----------
>  Admin | Superuser   | {}
>           : Create role
>           : Create DB
>
> yes i initially logged in as Admin
> but I ran all the commands thru RUNAS /user:postgres
>
> currently unable to login as postgres as I have webservers,appservers
> running under 'admin' space
>
> I'm confused as to the install under admin when i did the runas?
> recommendations?

You've exhausted my knowledge of running pg under windows I'm afraid.
Must be how the windows installer works or something?

pgsql-general by date:

Previous
From: Scott Marlowe
Date:
Subject: Re: psql: FATAL: role "postgres" does not exist
Next
From: Martin Gainty
Date:
Subject: Re: psql: FATAL: role "postgres" does not exist