Re: Using role priviledges for pg_dump

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Using role priviledges for pg_dump
Дата
Msg-id 18453.1210992645@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Using role priviledges for pg_dump  (Bill Moran <wmoran@collaborativefusion.com>)
Список pgsql-general
Bill Moran <wmoran@collaborativefusion.com> writes:
> Given:

> CREATE ROLE joe WITH LOGIN;
> CREATE ROLE dumpable;
> ALTER GROUP dumpable ADD USER joe;

> If I have a database called db1 to which the role dumpable has enough
> permissions to do a full pg_dump, but he user joe does not, how can
> joe do a pg_dump?  Is it possible?

Uh, given the setup you show it seems like joe should have enough
privileges.  Can you give a concrete example of it going wrong?

            regards, tom lane

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

Предыдущее
От: Chuck Bai
Дата:
Сообщение: Function to return both integer and SETOF refcursor
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Function to return both integer and SETOF refcursor