Re: Fix output of zero privileges in psql

Поиск
Список
Период
Сортировка
От Laurenz Albe
Тема Re: Fix output of zero privileges in psql
Дата
Msg-id 30ef7918c8f1a0b811d11350e7f658a3c3439441.camel@cybertec.at
обсуждение исходный текст
Ответ на Re: Fix output of zero privileges in psql  (Erik Wienhold <ewie@ewie.name>)
Ответы Re: Fix output of zero privileges in psql  (Erik Wienhold <ewie@ewie.name>)
Список pgsql-hackers
On Sat, 2023-10-07 at 20:41 +0200, Erik Wienhold wrote:
> > If you are happy enough with my patch, shall we mark it as ready for
> > committer?
>
> I amended your patch to also document the effect of \pset null in this
> case.  See the attached v2.

+1

If you mention in ddl.sgml that you can use "\pset null" to distinguish
default from no privileges, you should mention that this only works with
psql.  Many people out there don't use psql.

Also, I'm not sure if "zero privileges" will be readily understood by
everybody.  Perhaps "no privileges at all, even for the object owner"
would be a better wording.

Perhaps it would also be good to mention this in the psql documentation.

Yours,
Laurenz Albe



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

Предыдущее
От: Quan Zongliang
Дата:
Сообщение: Fix log_line_prefix to display the transaction id (%x) for statements not in a transaction block
Следующее
От: Thomas Munro
Дата:
Сообщение: Re: pg_upgrade --copy-file-range