Re: ALTER DEFAULT PRIVILEGES FOR ROLE is broken

From: Josh Berkus <josh(at)agliodbs(dot)com>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Re: ALTER DEFAULT PRIVILEGES FOR ROLE is broken
Date: 2013-04-29 22:03:42
Message-ID: 517EEE3E.3030808@agliodbs.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Tom,

I'm also seeing that the DEFAULT PRIVs I get seem to be dependant on my
login role, not my current role. That is, if role "dba" has default
privs set, and role "josh", which is a member of "dba" does not, and
"josh" does "set role dba" before creating some tables, those tables do
NOT get dba's default privs. At least, that's what happens in my testing.

Is that expected? If so, that should certainly be documented.

--
Josh Berkus
PostgreSQL Experts Inc.
http://pgexperts.com

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Fabien COELHO 2013-04-29 22:39:44 Re: [PATCH] add --throttle option to pgbench [patch 2]
Previous Message Josh Berkus 2013-04-29 21:59:18 Re: Remaining beta blockers