User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0
On 10/13/2017 11:21 AM, David G. Johnston wrote:
On Fri, Oct 13, 2017 at
11:03 AM, Igal @ Lucee.org <igal@xxxxxxxxx> wrote:
You mean that if I execute the
ALTER DEFAULT command above as user `postgres` then only
tables created by user `postgres` will give default
privileges to role `webapp`?
Yes.
"You can change default privileges only for objects that
will be created by yourself or by roles that you are a
member of."
You use the
"FOR <target_role>" modifier if you want the "or by
roles that you are a member of" portion to be used.