Re: Version 14/15 documentation Section "Alter Default Privileges"

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: Version 14/15 documentation Section "Alter Default Privileges"
Дата
Msg-id ZUbsWcPypVORlYCg@momjian.us
обсуждение исходный текст
Ответ на Re: Version 14/15 documentation Section "Alter Default Privileges"  (Laurenz Albe <laurenz.albe@cybertec.at>)
Ответы Re: Version 14/15 documentation Section "Alter Default Privileges"  (Michael Banck <mbanck@gmx.net>)
Re: Version 14/15 documentation Section "Alter Default Privileges"  (Laurenz Albe <laurenz.albe@cybertec.at>)
Список pgsql-hackers
On Sat, Nov  4, 2023 at 10:12:42PM +0100, Laurenz Albe wrote:
> On Sat, 2023-11-04 at 14:20 -0400, Bruce Momjian wrote:
> > Yes, I see your point.  Updated patch attached.
> 
> Almost perfect, except:
> 
> +      Change default privileges for objects created by
> +      <replaceable>target_role</replaceable>;  if omitted, the current
> +      role is modified.
> 
> It is not the role that is modified.  Perhaps:
> 
>   [...]; if omitted, the current role is used.

Sure, attached.  Here is the issue I have though, we are really not
changing default privileges for objects created in the future, we are
changing the role _now_ so future objects will have different default
privileges, right?  I think wording like the above is kind of odd.

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

  Only you can decide what is important to you.

Вложения

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

Предыдущее
От: Michael Paquier
Дата:
Сообщение: Re: A recent message added to pg_upgade
Следующее
От: Dean Rasheed
Дата:
Сообщение: Re: MERGE ... RETURNING