Re: pg_dump permissions problem

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)au>, pgsql-hackers(at)postgresql(dot)org, Peter Eisentraut <peter_e(at)gmx(dot)net>
Subject: Re: pg_dump permissions problem
Date: 2003-09-29 21:26:21
Message-ID: 200309292126.h8TLQLc19882@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Tom Lane wrote:
> Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)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 entry
> Fix REVOKE ALL ON FUNCTION error when removing owner permissions
> describes exactly the same problem or something else.

Yep, that is it. It was reported as a bug by two people recently.

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Neil Conway 2003-09-29 21:27:59 deprecating the use of OIDs
Previous Message Bruce Momjian 2003-09-29 21:25:37 Re: 7.4 status