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

Поиск
Список
Период
Сортировка
От Scott Marlowe
Тема Re: psql: FATAL: role "postgres" does not exist
Дата
Msg-id dcc563d10909261912y498b6d9n1eecdb24b426cd8c@mail.gmail.com
обсуждение исходный текст
Ответ на pg_buffercache - A lot of "unnamed" relfilenodes?  (Gerhard Wiesinger <lists@wiesinger.com>)
Ответы Re: psql: FATAL: role "postgres" does not exist  (Martin Gainty <mgainty@hotmail.com>)
Список 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 по дате отправления:

Предыдущее
От: Scott Marlowe
Дата:
Сообщение: Re: psql: FATAL: role "postgres" does not exist
Следующее
От: Martin Gainty
Дата:
Сообщение: Re: psql: FATAL: role "postgres" does not exist