Re: pg_dump permissions problem - Mailing list pgsql-hackers

From Tom Lane
Subject Re: pg_dump permissions problem
Date
Msg-id 27702.1064863559@sss.pgh.pa.us
Whole thread Raw
In response to pg_dump permissions problem  (Christopher Kings-Lynne <chriskl@familyhealth.com.au>)
Responses Re: pg_dump permissions problem  (Bruce Momjian <pgman@candle.pha.pa.us>)
List 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 by date:

Previous
From: Tom Lane
Date:
Subject: Re: pg_dump no longer honors --no-reconnect
Next
From: Manfred Spraul
Date:
Subject: Re: 2-phase commit