Re: pg_dump dumping out some irrelevant grants

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: pg_dump dumping out some irrelevant grants
Дата
Msg-id 6937.1247698640@sss.pgh.pa.us
обсуждение исходный текст
Ответ на pg_dump dumping out some irrelevant grants  (Chris Browne <cbbrowne@acm.org>)
Список pgsql-admin
Chris Browne <cbbrowne@acm.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

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

Предыдущее
От: Chris Browne
Дата:
Сообщение: pg_dump dumping out some irrelevant grants
Следующее
От: Anj Adu
Дата:
Сообщение: Re: commit within function