Re: pgsql: Add new GUC createrole_self_grant.

2023-01-10 Thread Tom Lane
Robert Haas writes: > Add new GUC createrole_self_grant. > Can be set to the empty string, or to either or both of "set" or > "inherit". If set to a non-empty value, a non-superuser who creates > a role (necessarily by relying up the CREATEROLE privilege) will > grant that role back to themselves

pgsql: Add new GUC createrole_self_grant.

2023-01-10 Thread Robert Haas
Add new GUC createrole_self_grant. Can be set to the empty string, or to either or both of "set" or "inherit". If set to a non-empty value, a non-superuser who creates a role (necessarily by relying up the CREATEROLE privilege) will grant that role back to themselves with the specified options. T