Обсуждение: Plus sign in column 'Access privileges' of command \dp

Поиск
Список
Период
Сортировка

Plus sign in column 'Access privileges' of command \dp

От
PG Doc comments form
Дата:
The following documentation comment has been logged on the website:

Page: https://www.postgresql.org/docs/17/ddl-priv.html
Description:

The last table of page https://www.postgresql.org/docs/current/ddl-priv.html
shows that column ' Access privileges' can contain plus-signs at the end,
but what these plus-signs mean does not seem to be explained anywhere.

Re: Plus sign in column 'Access privileges' of command \dp

От
Laurenz Albe
Дата:
On Thu, 2025-07-17 at 12:59 +0000, PG Doc comments form wrote:
> The last table of page https://www.postgresql.org/docs/current/ddl-priv.html
> shows that column ' Access privileges' can contain plus-signs at the end,
> but what these plus-signs mean does not seem to be explained anywhere.

That has nothing to do with privileges, that's just psql's standard
way of displaying newlines.  See

https://www.postgresql.org/docs/current/app-psql.html#APP-PSQL-META-COMMAND-PSET-LINESTYLE

Yours,
Laurenz Albe



Re: Plus sign in column 'Access privileges' of command \dp

От
P M
Дата:
Oh, thank you very much for the clarification. Kind regards Peter

On Fri, Jul 18, 2025, 15:31 Laurenz Albe <laurenz.albe@cybertec.at> wrote:
On Thu, 2025-07-17 at 12:59 +0000, PG Doc comments form wrote:
> The last table of page https://www.postgresql.org/docs/current/ddl-priv.html
> shows that column ' Access privileges' can contain plus-signs at the end,
> but what these plus-signs mean does not seem to be explained anywhere.

That has nothing to do with privileges, that's just psql's standard
way of displaying newlines.  See

https://www.postgresql.org/docs/current/app-psql.html#APP-PSQL-META-COMMAND-PSET-LINESTYLE

Yours,
Laurenz Albe