Re: User table porting

Поиск
Список
Период
Сортировка
От Kevin Kempter
Тема Re: User table porting
Дата
Msg-id 200903101123.01310.kevink@consistentstate.com
обсуждение исходный текст
Ответ на User table porting  (Carol Walter <walterc@indiana.edu>)
Ответы Re: User table porting  (Jan-Peter Seifert <Jan-Peter.Seifert@gmx.de>)
Список pgsql-admin
On Tuesday 10 March 2009 11:13:54 Carol Walter wrote:
> I want to recreate users with their passwords from one database
> cluster on another database cluster. What would be the best way for
> me to do this?
>
> Thanks,
> Carol


from the "old" server run this (where <new_db_cluster> is the new server):


pg_dumpall -g | psql -h <new_db_cluster>

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

Предыдущее
От: Carol Walter
Дата:
Сообщение: User table porting
Следующее
От: Tom Lane
Дата:
Сообщение: Re: User table porting