Re: BUG #12843: pg_dump -O inserts four unwanted lines to the end of the dump

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: BUG #12843: pg_dump -O inserts four unwanted lines to the end of the dump
Дата
Msg-id 20150501131935.GH6342@momjian.us
обсуждение исходный текст
Ответ на Re: BUG #12843: pg_dump -O inserts four unwanted lines to the end of the dump  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-bugs
On Thu, Apr 30, 2015 at 09:20:50PM -0700, Tom Lane wrote:
> Bruce Momjian <bruce@momjian.us> writes:
> > I looked into this and -O says it controls the setting of _ownership_ of
> > objects, but it does not control the _permissions_ on objects.  Is there
> > a use for not restoring permissions too?
>
> Indeed.  --no-privileges seems like the answer to the OP's complaint.

And --no-privileges does suppress the lines he wanted removed.

--
  Bruce Momjian  <bruce@momjian.us>        http://momjian.us
  EnterpriseDB                             http://enterprisedb.com

  + Everyone has their own god. +

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

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: Failure to coerce unknown type to specific type
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: BUG #12845: The GB18030 encoding doesn't support Unicode characters over 0xFFFF