Search Postgresql Archives

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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, Sep 26, 2009 at 8:10 PM, Martin Gainty <mgainty@xxxxxxxxxxx> 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?

-- 
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux