Re: fixing CREATEROLE - Mailing list pgsql-hackers

From Mark Dilger
Subject Re: fixing CREATEROLE
Date
Msg-id D1CEBA72-B217-4A07-B849-C1124FA294B7@enterprisedb.com
Whole thread Raw
In response to Re: fixing CREATEROLE  (walther@technowledgy.de)
Responses Re: fixing CREATEROLE
Re: fixing CREATEROLE
List pgsql-hackers

> On Nov 28, 2022, at 12:08 PM, walther@technowledgy.de wrote:
>
> Isn't this just GRANT .. WITH SET FALSE, INHERIT FALSE, ADMIN TRUE? That should allow role administration, without
actuallygranting membership in that role, yet, right? 

Can you clarify what you mean here?  Are you inventing a new syntax?

+GRANT bob TO alice WITH SET FALSE, INHERIT FALSE, ADMIN TRUE;
+ERROR:  syntax error at or near "SET"
+LINE 1: GRANT bob TO alice WITH SET FALSE, INHERIT FALSE, ADMIN TRUE...


—
Mark Dilger
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company






pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: fixing CREATEROLE
Next
From: Andres Freund
Date:
Subject: Re: [PATCH] Infinite loop while acquiring new TOAST Oid