Re: createuser --memeber and PG 16
Robert Haas <robertmhaas@gmail.com>
From: Robert Haas <robertmhaas@gmail.com>
To: Bruce Momjian <bruce@momjian.us>
Cc: PostgreSQL-development <pgsql-hackers@postgresql.org>
Date: 2023-05-11T14:07:23Z
Lists: pgsql-hackers
On Wed, May 10, 2023 at 1:33 PM Bruce Momjian <bruce@momjian.us> wrote: > This seems like it will be forever confusing to people. 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? Yeah, it's a bad situation. I think --role is basically misnamed. Something like --add-to-group would have been clearer, but that also has the problem of being inconsistent with the SQL command. The whole ROLE vs. IN ROLE thing is inherently quite confusing, I think. It's very easy to get confused about which direction the membership arrows are pointing. -- Robert Haas EDB: http://www.enterprisedb.com
Commits
-
Document deprecated createuser option.
- 381d19b3ea0e 16.0 landed
-
Rename some createuser options.
- 2dcd1578c401 16.0 landed
-
doc: improve description of adding roles as members
- ce3673daded3 16.0 landed
-
Mark options as deprecated in usage output
- 2f80c95740f8 16.0 cited