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 02:12:15 |
Message-ID: | dcc563d10909261912y498b6d9n1eecdb24b426cd8c@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
On Sat, Sep 26, 2009 at 8:10 PM, Martin Gainty <mgainty(at)hotmail(dot)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?
From | Date | Subject | |
---|---|---|---|
Next Message | Martin Gainty | 2009-09-27 02:26:35 | Re: psql: FATAL: role "postgres" does not exist |
Previous Message | Scott Marlowe | 2009-09-27 01:55:32 | Re: psql: FATAL: role "postgres" does not exist |