Re: pg_dump and roles

Поиск
Список
Период
Сортировка
От Yauheni Labko
Тема Re: pg_dump and roles
Дата
Msg-id alpine.DEB.2.00.0810031610190.2149@tech-pc04.chappy.com
обсуждение исходный текст
Ответ на pg_dump and roles  (Julie Warden <Julie_Warden@nospam.hotmail.com>)
Список pgsql-admin
> Is there a method to dump just the roles from a database, or otherwise
> select them, so I can build a script to reload the roles? Otherwise, I
> guess I'll just read the tables for each database and build the
> security script from that.

from man pg_dumpall:

  -r

  --roles-only
               Dump only roles, no databases or tablespaces.



Eugene

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

Предыдущее
От: "Peter Steinheuser"
Дата:
Сообщение: Re: pg_dump and roles
Следующее
От: Marc Fromm
Дата:
Сообщение: logging