Re: createuser --memeber and PG 16 - Mailing list pgsql-hackers

From Daniel Gustafsson
Subject Re: createuser --memeber and PG 16
Date
Msg-id F2D042A4-0632-43F8-9D9A-6537D01DE722@yesql.se
Whole thread Raw
In response to createuser --memeber and PG 16  (Bruce Momjian <bruce@momjian.us>)
Responses Re: createuser --memeber and PG 16
List pgsql-hackers
> On 10 May 2023, at 19:33, Bruce Momjian <bruce@momjian.us> wrote:

> I frankly don't
> know why --role matching CREATE ROLE ... ROLE IN was not already
> confusing in pre-PG 16.  Any new ideas for improvement?

IIRC there were a number of ideas presented in that thread but backwards
compatibility with --role already "taken" made it complicated, so --role and
--member were the least bad options.

> At a minium I would like to apply the attached doc patch to PG 16 to
> improve awkward wording in CREATE ROLE and createuser.

No objection.

+        role.  (This in effect makes the new role a <quote>group</quote>.)
While not introduced here, isn't the latter part interesting enough to warrant
not being inside parenthesis?

--
Daniel Gustafsson




pgsql-hackers by date:

Previous
From: Amit Kapila
Date:
Subject: Re: running logical replication as the subscription owner
Next
From: Pavel Stehule
Date:
Subject: Re: psql tests hangs