pg.ddx.io pgsql-docs@postgresql.org mailing list archive
help / color / mirror / Atom feedLOGIN/NOLOGIN in psql
3+ messages / 3 participants
[nested] [flat]
* LOGIN/NOLOGIN in psql
@ 2020-02-12 21:25 PG Doc comments form <noreply@postgresql.org>
2020-02-13 14:55 ` Re: LOGIN/NOLOGIN in psql David G. Johnston <david.g.johnston@gmail.com>
0 siblings, 1 reply; 3+ messages in thread
From: PG Doc comments form @ 2020-02-12 21:25 UTC (permalink / raw)
To: pgsql-docs@lists.postgresql.org; +Cc: asheiduk@gmail.com
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.
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: LOGIN/NOLOGIN in psql
2020-02-12 21:25 LOGIN/NOLOGIN in psql PG Doc comments form <noreply@postgresql.org>
@ 2020-02-13 14:55 ` David G. Johnston <david.g.johnston@gmail.com>
2020-02-13 17:25 ` Re: LOGIN/NOLOGIN in psql Andreas Heiduk <asheiduk@gmail.com>
0 siblings, 1 reply; 3+ messages in thread
From: David G. Johnston @ 2020-02-13 14:55 UTC (permalink / raw)
To: asheiduk@gmail.com; pgsql-docs@lists.postgresql.org
On Thu, Feb 13, 2020 at 2:53 AM PG Doc comments form <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.
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: LOGIN/NOLOGIN in psql
2020-02-12 21:25 LOGIN/NOLOGIN in psql PG Doc comments form <noreply@postgresql.org>
2020-02-13 14:55 ` Re: LOGIN/NOLOGIN in psql David G. Johnston <david.g.johnston@gmail.com>
@ 2020-02-13 17:25 ` Andreas Heiduk <asheiduk@gmail.com>
0 siblings, 0 replies; 3+ messages in thread
From: Andreas Heiduk @ 2020-02-13 17:25 UTC (permalink / raw)
To: David G. Johnston <david.g.johnston@gmail.com>; pgsql-docs@lists.postgresql.org
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.
^ permalink raw reply [nested|flat] 3+ messages in thread
end of thread, other threads:[~2020-02-13 17:25 UTC | newest]
Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2020-02-12 21:25 LOGIN/NOLOGIN in psql PG Doc comments form <noreply@postgresql.org>
2020-02-13 14:55 ` David G. Johnston <david.g.johnston@gmail.com>
2020-02-13 17:25 ` Andreas Heiduk <asheiduk@gmail.com>
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