Re: copying pg_user?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: copying pg_user?
Дата
Msg-id 28300.965166312@sss.pgh.pa.us
обсуждение исходный текст
Ответ на copying pg_user?  (James Hall <James.Hall@RadioShack.com>)
Список pgsql-novice
James Hall <James.Hall@RadioShack.com> writes:
> My question is what is the easiest/best/safest way to copy the pg_user file
> from db to another?

pg_user is a view.  You can copy pg_shadow if you are so inclined.
See the pg_dumpall script, which does exactly that before dumping
the database(s) proper.

            regards, tom lane

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