Обсуждение: Passwords when changing users -> roles

Поиск
Список
Период
Сортировка

Passwords when changing users -> roles

От
Adam Witney
Дата:
Hi,

I'm upgrading from 7.4.x to 8.1.x and I need to move my usernames over to
the new roles. I can create the roles ok, but is there a way of transferring
over the existing passwords, or do I have to create new passwords for each
user/role?

Thanks for any help

adam


--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.


Re: Passwords when changing users -> roles

От
Bruce Momjian
Дата:
Adam Witney wrote:
>
> Hi,
>
> I'm upgrading from 7.4.x to 8.1.x and I need to move my usernames over to
> the new roles. I can create the roles ok, but is there a way of transferring
> over the existing passwords, or do I have to create new passwords for each
> user/role?

pg_dumpall should transfer your passwords too.

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

Re: Passwords when changing users -> roles

От
Adam Witney
Дата:
On 1/2/06 3:04 pm, "Bruce Momjian" <pgman@candle.pha.pa.us> wrote:

> Adam Witney wrote:
>>
>> Hi,
>>
>> I'm upgrading from 7.4.x to 8.1.x and I need to move my usernames over to
>> the new roles. I can create the roles ok, but is there a way of transferring
>> over the existing passwords, or do I have to create new passwords for each
>> user/role?
>
> pg_dumpall should transfer your passwords too.

Ah I see, I only did a pg_dump as I was just transferring one database to
the new server for testing.

Thanks for the help

Adam


--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.