Re: role attributes are missing from this page

From: Keith Wanta <wantakeith(at)gmail(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: wantakeith+160(at)gmail(dot)com, pgsql-docs(at)lists(dot)postgresql(dot)org
Subject: Re: role attributes are missing from this page
Date: 2022-04-12 19:36:03
Message-ID: CAH6-sxA2qpOnf1-up1u7z106Xc-snG-Exf35Cg=niHB=N6-GAQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs

Thanks! Because I'm getting oid, I might need glasses.

On Tue, Apr 12, 2022 at 2:29 PM Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:

> PG Doc comments form <noreply(at)postgresql(dot)org> writes:
> > Issue #1:
> > "old" is a keyword, but I cannot query the old column explicitely with
> > surrounding quotes.
> > SELECT "old" FROM pg_roles;
>
> Look closer. That column is "oid" not "old".
>
> > Issue #2:
> > You do not have ALL role attributes documented on this page. Please add
> and
> > document the missing role attributes.
> > https://www.postgresql.org/docs/current/role-attributes.html
>
> AFAICS this page is merely trying to document the role properties that
> can reasonably be considered to be kinds of privileges. I don't have
> a problem with it not mentioning role name or password, for example.
> In any case, if you want a full list of what is in the pg_roles view,
> the place to look is under the system views documentation:
>
> https://www.postgresql.org/docs/current/view-pg-roles.html
>
> role-attributes.html is not intended to be a substitute for that.
>
> regards, tom lane
>

In response to

Browse pgsql-docs by date

  From Date Subject
Next Message Tom Lane 2022-04-12 19:49:33 Re: "GIN and GiST Index Types" page is about usage in full text search, but looks general purpose
Previous Message Peter Geoghegan 2022-04-12 19:34:52 Re: "GIN and GiST Index Types" page is about usage in full text search, but looks general purpose