Re: per feedback I received directly, pg_dump manpage patch

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: per feedback I received directly, pg_dump manpage patch
Дата
Msg-id 20150528015312.GH5885@postgresql.org
обсуждение исходный текст
Ответ на Re: per feedback I received directly, pg_dump manpage patch  ("Joshua D. Drake" <jd@commandprompt.com>)
Ответы Re: per feedback I received directly, pg_dump manpage patch  ("Joshua D. Drake" <jd@commandprompt.com>)
Список pgsql-docs
Joshua D. Drake wrote:
>
> On 05/27/2015 06:31 PM, Alvaro Herrera wrote:
> >
> >Joshua D. Drake wrote:
> >>The man page does not clearly state that pg_dump will not dump things like
> >>users or roles. It does mention briefly in the notes section that pg_dumpall
> >>is needed for items that are set via SET but that isn't very clear on the
> >>other items.
> >
> >I agree that we need a warning about this, but I think it should be a
> >bit more generic rather than focused exclusively on pg_dumpall; perhaps
> >something like "global objs such as roles/tblspcs should be backed up
> >separately, for example using pg_dumpall".
>
> As the only way to back up global objects is pg_dumpall....?

Well, my point is that the roles could be set up separately by other
means.

> >I didn't check the location of the warning in your patch, or whether a
> >warning is really appropriate rather than, say, <note> or a plain
> ><para>.
>
> The warning is directly after the first paragraph. I thought about using
> <note> but I think this does warrant a <warning>. You can't actually restore
> a database correctly without pg_dump + pg_dumpall (in this context).

Okay, +0 there.  (That is, I don't disagree with you but I won't stand
in the way of others disagreeing on that point.)

--
Álvaro Herrera                http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services


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

Предыдущее
От: "Joshua D. Drake"
Дата:
Сообщение: Re: per feedback I received directly, pg_dump manpage patch
Следующее
От: "Joshua D. Drake"
Дата:
Сообщение: Re: per feedback I received directly, pg_dump manpage patch