Re: how can i migrate just the users from one db to a new one

Поиск
Список
Период
Сортировка
От Adrian Klaver
Тема Re: how can i migrate just the users from one db to a new one
Дата
Msg-id 200903310701.00333.aklaver@comcast.net
обсуждение исходный текст
Ответ на how can i migrate just the users from one db to a new one  (Reid Thompson <reid.thompson@ateb.com>)
Список pgsql-general
On Tuesday 31 March 2009 6:44:52 am Reid Thompson wrote:
> I've a DB and I want to migrate the users to a new empty DB.  How do I
> dump/reload just the users?
>
> Thanks,
> reid

pg_dumpall -g

From:
http://www.postgresql.org/docs/8.3/interactive/app-pg-dumpall.html

-g
--globals-only

    Dump only global objects (roles and tablespaces), no databases.

--
Adrian Klaver
aklaver@comcast.net

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

Предыдущее
От: SHARMILA JOTHIRAJAH
Дата:
Сообщение: Space for pg_dump
Следующее
От: Scott Marlowe
Дата:
Сообщение: Re: Server Performance