Re: PG_Dump Users and Groups

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: PG_Dump Users and Groups
Дата
Msg-id 21203.1136060653@sss.pgh.pa.us
обсуждение исходный текст
Ответ на PG_Dump Users and Groups  (David Chapman <david.luckychap@gmail.com>)
Список pgsql-novice
David Chapman <david.luckychap@gmail.com> writes:
> Can PG_dump create commands that will include restoring the users and groups
> after a fatal disk crash?

pg_dump doesn't do that; pg_dumpall does.  This is because pg_dump is
meant to dump only one database in an installation, while users and
groups span the whole installation.  So they should be dumped as part
of a whole-installation dump, ie, pg_dumpall.

BTW, please send list messages to pgsql-novice, not pgsql-novice-owner.

            regards, tom lane

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

Предыдущее
От: "Michael Avila"
Дата:
Сообщение: Re: ecommerce solution
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Restoring to a different tablespace