From: Bruce Momjian <bruce@momjian.us>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: mage@mage.li
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #12843: pg_dump -O inserts four unwanted lines to the end of the dump
Date: Fri, 1 May 2015 09:19:35 -0400
Message-ID: <20150501131935.GH6342@momjian.us> (raw)
In-Reply-To: <37327.1430454050@sss.pgh.pa.us>
References: <20150309091242.2544.58018@wrigleys.postgresql.org>
<20150501005759.GA6342@momjian.us>
<37327.1430454050@sss.pgh.pa.us>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-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. +
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: bruce@momjian.us, tgl@sss.pgh.pa.us, mage@mage.li
Subject: Re: BUG #12843: pg_dump -O inserts four unwanted lines to the end of the dump
In-Reply-To: <20150501131935.GH6342@momjian.us>
References: <20150309091242.2544.58018@wrigleys.postgresql.org> <20150501005759.GA6342@momjian.us> <37327.1430454050@sss.pgh.pa.us> <20150501131935.GH6342@momjian.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox