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?