Re: createuser --memeber and PG 16

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: createuser --memeber and PG 16
Дата
Msg-id ZFzu8r3VOYzz+2FU@momjian.us
обсуждение исходный текст
Ответ на Re: createuser --memeber and PG 16  (Daniel Gustafsson <daniel@yesql.se>)
Ответы Re: createuser --memeber and PG 16  (Michael Paquier <michael@paquier.xyz>)
Список pgsql-hackers
On Thu, May 11, 2023 at 02:21:22PM +0200, Daniel Gustafsson wrote:
> > 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 minimum 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?

The concept of group itself is deprecated, which I think is why the
parenthesis are used.

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

  Embrace your flaws.  They make you human, rather than perfect,
  which you will never be.



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

Предыдущее
От: Robert Haas
Дата:
Сообщение: v16 regression - wrong query results with LEFT JOINs + join removal
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: logical decoding and replication of sequences, take 2