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

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Bruce Momjian <bruce(at)momjian(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 04:20:50
Message-ID: 37327.1430454050@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

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.

regards, tom lane

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Heikki Linnakangas 2015-05-01 04:48:08 Re: BUG #12845: The GB18030 encoding doesn't support Unicode characters over 0xFFFF
Previous Message Bruce Momjian 2015-05-01 01:13:15 Re: BUG #12845: The GB18030 encoding doesn't support Unicode characters over 0xFFFF