Re: [BUGS] BUG #14788: `pg_restore -c` won't restore schema access privileges. - Mailing list pgsql-bugs

From Masahiko Sawada
Subject Re: [BUGS] BUG #14788: `pg_restore -c` won't restore schema access privileges.
Date
Msg-id CAD21AoBeRh0W4A0gSEKYavdN+JfRx9UupA2iK+wN9f-DzYTPpg@mail.gmail.com
Whole thread Raw
In response to Re: [BUGS] BUG #14788: `pg_restore -c` won't restore schema accessprivileges.  (Stephen Frost <sfrost@snowman.net>)
Responses Re: [BUGS] BUG #14788: `pg_restore -c` won't restore schema access privileges.
List pgsql-bugs
On Thu, Aug 24, 2017 at 11:26 PM, Stephen Frost <sfrost@snowman.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


-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs

pgsql-bugs by date:

Previous
From: Stephen Frost
Date:
Subject: Re: [BUGS] BUG #14788: `pg_restore -c` won't restore schema accessprivileges.
Next
From: Emre Hasegeli
Date:
Subject: [BUGS] Standby corruption after master is restarted