From: Tom Lane <tgl@sss.pgh.pa.us>
To: Bruce Momjian <bruce@momjian.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: Thu, 30 Apr 2015 21:20:50 -0700
Message-ID: <37327.1430454050@sss.pgh.pa.us> (raw)
In-Reply-To: <20150501005759.GA6342@momjian.us>
References: <20150309091242.2544.58018@wrigleys.postgresql.org>
<20150501005759.GA6342@momjian.us>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>
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.
regards, tom lane
--
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: tgl@sss.pgh.pa.us, bruce@momjian.us, mage@mage.li
Subject: Re: BUG #12843: pg_dump -O inserts four unwanted lines to the end of the dump
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>
* 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