pg_dump and -U flag.

Поиск
Список
Период
Сортировка
От speedboy
Тема pg_dump and -U flag.
Дата
Msg-id Pine.LNX.4.21.0109170942270.695-100000@b.evark.com
обсуждение исходный текст
Ответы Re: pg_dump and -U flag.
Список pgsql-hackers
I am trying to use pg_dump as user root but using another username for the
database.

I set USER="postgres" and exported it. It still tries to login using the
root username. PGPASSWORD can be set and exported, is there a way I can do
this for the username?

Also, could it be possible for someone to program support in pg_dump to
have a -U flag/argument to set the username that pg_dump will use?

p.s. I'd like not to use -S and expect.

Thankyou.



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: factorial doc bug?
Следующее
От: speedboy
Дата:
Сообщение: Re: pg_dump and -U flag.