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 15:27:40
Message-ID: CAD21AoCa7_D=4a2VOZhKgYYoGN=vMLGpwJEtGOeQx55NS-qo5A@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On Thu, Aug 24, 2017 at 11:49 PM, Masahiko Sawada <sawada(dot)mshk(at)gmail(dot)com> wrote:
> 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 this is right but,

> 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'.
>

this might be wrong. Let me think it again. Sorry for the noise.

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 Arthur Zakirov 2017-08-24 19:01:34 Re: TO_TSVECTOR acts differently with national charcters
Previous Message Emre Hasegeli 2017-08-24 14:50:59 Standby corruption after master is restarted