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

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: mage(at)mage(dot)li, pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #12843: pg_dump -O inserts four unwanted lines to the end of the dump
Date: 2015-05-01 13:19:35
Message-ID: 20150501131935.GH6342@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On Thu, Apr 30, 2015 at 09:20:50PM -0700, Tom Lane wrote:
> Bruce Momjian <bruce(at)momjian(dot)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(at)momjian(dot)us> http://momjian.us
EnterpriseDB http://enterprisedb.com

+ Everyone has their own god. +

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Bruce Momjian 2015-05-01 13:37:13 Re: BUG #12845: The GB18030 encoding doesn't support Unicode characters over 0xFFFF
Previous Message Robert Haas 2015-05-01 12:42:45 Re: Failure to coerce unknown type to specific type