Re: createuser --memeber and PG 16

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: createuser --memeber and PG 16
Дата
Msg-id ZGbdaHmXpxFsAlMe@momjian.us
обсуждение исходный текст
Ответ на createuser --memeber and PG 16  (Bruce Momjian <bruce@momjian.us>)
Ответы Re: createuser --memeber and PG 16  (Michael Paquier <michael@paquier.xyz>)
Список pgsql-hackers
On Wed, May 10, 2023 at 01:33:26PM -0400, Bruce Momjian wrote:
> In writing the PG 16 release notes, I came upon an oddity in our new
> createuser syntax, specifically --role and --member.  It turns out that
> --role matches CREATE ROLE ... ROLE IN (and has prior to PG 16) while
> the new --member option matches CREATE ROLE ... ROLE.  The PG 16 feature
> discussion thread is here:
> 
>     https://www.postgresql.org/message-id/flat/69a9851035cf0f0477bcc5d742b031a3%40oss.nttdata.com
> 
> 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?
> 
> At a minium I would like to apply the attached doc patch to PG 16 to
> improve awkward wording in CREATE ROLE and createuser.

Patch applied.

-- 
  Bruce Momjian  <bruce@momjian.us>        https://momjian.us
  EDB                                      https://enterprisedb.com

  Only you can decide what is important to you.



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Peter Geoghegan
Дата:
Сообщение: Re: PG 16 draft release notes ready
Следующее
От: jian he
Дата:
Сообщение: Re: PG 16 draft release notes ready