Re: BUG #14788: `pg_restore -c` won't restore schema access privileges.

From: Masahiko Sawada <sawada(dot)mshk(at)gmail(dot)com>
To: Stephen Frost <sfrost(at)snowman(dot)net>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Fujimoto Seiji <fujimoto(at)ceptord(dot)net>, pgsql-bugs <pgsql-bugs(at)postgresql(dot)org>
Subject: Re: BUG #14788: `pg_restore -c` won't restore schema access privileges.
Date: 2017-08-24 14:49:33
Message-ID: CAD21AoBeRh0W4A0gSEKYavdN+JfRx9UupA2iK+wN9f-DzYTPpg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On Thu, Aug 24, 2017 at 11:26 PM, Stephen Frost <sfrost(at)snowman(dot)net> wrote:
> I'll see what I can do though. I'm really curious how this was working
> previously..
>

In PostgreSQL 9.6.1, both "pg_dump -c; pg_restore" and "pg_dump;
pg_restore -c" don't produce a script including 'GRANT ALL ON SCHEMA
public TO PUBLIC'. So we can reproduce it in 9.6.1 as well. I think we
should fix pg_restore so that "pg_dump; pg_restore -c" produces a
script including 'GRANT ALL ON SCHEMA public TO PUBLIC'.

Regards,

--
Masahiko Sawada
NIPPON TELEGRAPH AND TELEPHONE CORPORATION
NTT Open Source Software Center

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Emre Hasegeli 2017-08-24 14:50:59 Standby corruption after master is restarted
Previous Message Stephen Frost 2017-08-24 14:26:05 Re: BUG #14788: `pg_restore -c` won't restore schema access privileges.