Re: Small filx on the documentation of ALTER DEFAULT PRIVILEGES

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Small filx on the documentation of ALTER DEFAULT PRIVILEGES
Дата
Msg-id 3688200.1713967024@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Small filx on the documentation of ALTER DEFAULT PRIVILEGES  (Yugo NAGATA <nagata@sraoss.co.jp>)
Список pgsql-hackers
Yugo NAGATA <nagata@sraoss.co.jp> writes:
> We can specify more than one privilege type in 
> "ALTER DEFAULT PRIVILEGES GRANT/REVOKE ON SCHEMAS",
> for example,

>   ALTER DEFAULT PRIVILEGES GRANT USAGE,CREATE ON SCHEMAS TO PUBLIC;

> However, the syntax described in the documentation looks to
> be allowing only one,

>  GRANT { USAGE | CREATE | ALL [ PRIVILEGES ] }
>     ON SCHEMAS
>     TO { [ GROUP ] role_name | PUBLIC } [, ...] [ WITH GRANT OPTION ]

> while the syntaxes for tables and sequences are described correctly.

Yup, you're right.  I'll push this shortly.

            regards, tom lane



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Remove unnecessary code rom be_lo_put()
Следующее
От: Alena Rybakina
Дата:
Сообщение: Re: Fix parallel vacuum buffer usage reporting