Re: pg_dump permissions problem

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: pg_dump permissions problem
Дата
Msg-id 27702.1064863559@sss.pgh.pa.us
обсуждение исходный текст
Ответ на pg_dump permissions problem  (Christopher Kings-Lynne <chriskl@familyhealth.com.au>)
Ответы Re: pg_dump permissions problem  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-hackers
Christopher Kings-Lynne <chriskl@familyhealth.com.au> writes:
> My live 7.3.4 database dumps data like this:

> REVOKE ALL ON TABLE log_freeprofile FROM PUBLIC;
> GRANT ALL ON TABLE log_freeprofile TO brett;
> GRANT INSERT,SELECT,UPDATE ON TABLE log_freeprofile TO "au-php";
> GRANT SELECT ON TABLE log_freeprofile TO GROUP readonly;
> REVOKE ALL ON TABLE log_freeprofile FROM auadmin;

> Now, loading this into 7.4beta3 gives this error:
> ERROR:  dependent privileges exist
> When executing the REVOKE ALL line.

Yeah, this is a known issue.  I think Peter was off looking into solutions.
It's clearly a "must fix" item.  Not sure if Bruce's open-items entryFix REVOKE ALL ON FUNCTION error when removing
ownerpermissions
 
describes exactly the same problem or something else.
        regards, tom lane


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: pg_dump no longer honors --no-reconnect
Следующее
От: Manfred Spraul
Дата:
Сообщение: Re: 2-phase commit