Re: How to pg_dumpall without root password

Поиск
Список
Период
Сортировка
От Hannes Dorbath
Тема Re: How to pg_dumpall without root password
Дата
Msg-id 469481B6.9080802@theendofthetunnel.de
обсуждение исходный текст
Список pgsql-general
On 11.07.2007 08:10, Dat Chu wrote:
> I am the new sysadmin and was given the task to move a postgresql
> installation from one box to another. So I want to do pg_dumpall .
>
> However, there is no record of postgresql superuser/root password. I
> do have root access to the system however.
>
> Does anyone have a suggestion on what I should do?

Locate pg_hba.conf (should reside in $PGDATA), open it in an editor,
replace md5 with trust.


--
Regards,
Hannes Dorbath

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: exit code -1073741819
Следующее
От: Tom Allison
Дата:
Сообщение: Re: Duplicate Unique Key constraint error