From: Andreas Heiduk <asheiduk@gmail.com>
To: David G. Johnston <david.g.johnston@gmail.com>
To: pgsql-docs@lists.postgresql.org
Subject: Re: LOGIN/NOLOGIN in psql
Date: Thu, 13 Feb 2020 18:25:13 +0100
Message-ID: <765646aa-9a1a-8052-d219-3fc3c63f521e@gmail.com> (raw)
In-Reply-To: <CAKFQuwb-EBci_JT9qXv0zcXPgtsYc79x_cO7PvdiksyJ5QjfaQ@mail.gmail.com>
References: <158154275696.23793.12449689024039364027@wrigleys.postgresql.org>
<CAKFQuwb-EBci_JT9qXv0zcXPgtsYc79x_cO7PvdiksyJ5QjfaQ@mail.gmail.com>
Am 13.02.20 um 15:55 schrieb David G. Johnston:
> On Thu, Feb 13, 2020 at 2:53 AM PG Doc comments form
> <noreply@postgresql.org <mailto:noreply@postgresql.org>> wrote:
>
> The following documentation comment has been logged on the website:
>
> Page: https://www.postgresql.org/docs/11/sql-createrole.html
> Description:
>
> Please add something like this to the LOGIN/NOLOGIN part:
>
> The `psql` commands `\du` and `\dg` show `Cannot login` for roles with
> `NOLOGIN` and nothing for roles with `LOGIN`. For other attributes
> `psql`
> show their positive forms.
>
>
> I suspect it is intentional that none (I think...) of the material in
> the SQL Commands section mentions psql. I can see changing the psql
> page to note the absence of a positive form presentation for this
> particular attribute under the descriptions of the \du and \dg
> meta-commands.
>
> David J.
Tinkering a bit more: The `INHERIT` attribute is also not shown - only
the negative form. Therefore:
I assume now, that `psql` only show these attributes, which are not in
the default state as explained in the `CREATE ROLE` page.
Explaining that an showing the possibly shown values in the mentioned
sections of `psql` would be a good idea.
Andreas H.
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-docs@postgresql.org
Cc: asheiduk@gmail.com, david.g.johnston@gmail.com, pgsql-docs@lists.postgresql.org
Subject: Re: LOGIN/NOLOGIN in psql
In-Reply-To: <765646aa-9a1a-8052-d219-3fc3c63f521e@gmail.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox