Re: pg_dump dumping out some irrelevant grants

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Chris Browne <cbbrowne(at)acm(dot)org>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: pg_dump dumping out some irrelevant grants
Date: 2009-07-15 22:57:20
Message-ID: 6937.1247698640@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Chris Browne <cbbrowne(at)acm(dot)org> writes:
> I'm finding that pg_dumps are dumping out, right near the end, the
> following sequence of grants that are causing our QA folk a little bit
> of concern:

> REVOKE ALL ON SCHEMA public FROM PUBLIC;
> REVOKE ALL ON SCHEMA public FROM chris;
> GRANT ALL ON SCHEMA public TO chris;
> GRANT ALL ON SCHEMA public TO PUBLIC;

> Is this an artifact of the fact that "chris" is the 'base superuser'?

Yup. If you're restoring into a system with a different base superuser
name, you'll just have to ignore those errors.

regards, tom lane

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Anj Adu 2009-07-16 01:36:05 Re: commit within function
Previous Message Lee, Mija 2009-07-15 22:16:13 Re: out of memory for query, partitioning & vacuuming