Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1neazc-0000M6-Rp for pgsql-docs@arkaria.postgresql.org; Wed, 13 Apr 2022 11:17:00 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1neaza-0003gc-MJ for pgsql-docs@arkaria.postgresql.org; Wed, 13 Apr 2022 11:16:58 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1neMJH-0001Rl-VB for pgsql-docs@lists.postgresql.org; Tue, 12 Apr 2022 19:36:20 +0000 Received: from mail-ed1-x533.google.com ([2a00:1450:4864:20::533]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1neMJF-0008Kz-DO for pgsql-docs@lists.postgresql.org; Tue, 12 Apr 2022 19:36:19 +0000 Received: by mail-ed1-x533.google.com with SMTP id v15so13541182edb.12 for ; Tue, 12 Apr 2022 12:36:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=vrsjzH7Mzw9UVUVLH0gLo7/vZAnPRuNmEjE90Yeh46I=; b=SyJ1vHSTBhiNAmkcfCSn5zooTN1yBks8S2YGublfv4OK4TVox0TRKzJl6zF6syJnTp sQR/nFIGqfJboT0iehi34fi3fcMUemJsxsi+DG6CDwrDhgkrwZX54xeWPXcbvyyRzKzs E3jVinPMQdly3GX36HKkbVOOGQq7GUln/JGzeBU3lNhpF5eihsNzL3+AbObrzH12i6ms JYzPQAo+V/ACnWiJdKeZbl7mwGa3t+SwaTqV/+BvA6sO/fJA9HKUd46OKg1BOOq/DGe3 YZaGB/y5g+JAVMlqUd3vCKiZXjC0lyMk2kR+/FvBPAw/btR8GvyScxQ2+aIlg1G1DExZ gIrw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=vrsjzH7Mzw9UVUVLH0gLo7/vZAnPRuNmEjE90Yeh46I=; b=YLHKBUTNWHQ/e8g/sFgHE19sxGj6i8b8QwEaD62kJX9KNt/KxZ2pU195ifYBWYwroW dACrZzFwmMvCYjsWyYSu+RrX4BRean0yesgNOSLU1UcgaLx0QRiNCTq1fNw1u94NI9Rh UetnCC0n1nFbzsm5EnanmrSh+2IcS8sB7nhwcxRBn9v2ooNJVJ0HqD12rHnd34Ud5mYz 9g1yg8E1yphFpdqdveusSHt52zYWpiNMb0tQCyXAbmK5eWU327syFYbVRczmS1uN2Wh5 5dcZESL15OV4Jbcei4pynmtf+FyUE6ZWWG2jffzlg0x13O5NVAZRClucD9I+6C76+3xr g0tg== X-Gm-Message-State: AOAM532KYuIibbDC+TRLcnhrKA9yoeqhaS5kB5dDpWc78YqUHiHkEJfX YUSh4gYUPQS9KV+XvCZ4QnwuIcBzNlecV+oS82s= X-Google-Smtp-Source: ABdhPJyJyB9PwLoejnMSDogi++LmSFnhucwgwx87snTrB5TVXlY8qnZxiujFSQQV8tmWwE4sY4CC57qSp6M3PMhmSIM= X-Received: by 2002:a05:6402:3318:b0:41d:893e:4d6 with SMTP id e24-20020a056402331800b0041d893e04d6mr7775580eda.225.1649792176329; Tue, 12 Apr 2022 12:36:16 -0700 (PDT) MIME-Version: 1.0 References: <164978692927.1276557.9862487759615827386@wrigleys.postgresql.org> <910015.1649791788@sss.pgh.pa.us> In-Reply-To: <910015.1649791788@sss.pgh.pa.us> From: Keith Wanta Date: Tue, 12 Apr 2022 14:36:03 -0500 Message-ID: Subject: Re: role attributes are missing from this page To: Tom Lane Cc: wantakeith+160@gmail.com, pgsql-docs@lists.postgresql.org Content-Type: multipart/alternative; boundary="0000000000009f959b05dc7a2c72" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --0000000000009f959b05dc7a2c72 Content-Type: text/plain; charset="UTF-8" Thanks! Because I'm getting oid, I might need glasses. On Tue, Apr 12, 2022 at 2:29 PM Tom Lane wrote: > PG Doc comments form 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 > --0000000000009f959b05dc7a2c72 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Thanks!=C2=A0 Because I'm getting oid= , I might need glasses.=C2=A0=C2=A0

On Tue, Apr 12, 2022 at 2:29 PM T= om Lane <tgl@sss.pgh.pa.us> = wrote:
PG Doc co= mments form <noreply@postgresql.org> writes:
> Issue #1:
> "old" is a keyword, but I cannot query the old column explic= itely with
> surrounding quotes.
> SELECT "old" FROM pg_roles;

Look closer.=C2=A0 That column is "oid" not "old".

> Issue #2:
> You do not have ALL role attributes documented on this page.=C2=A0 Ple= ase add and
> document the missing role attributes.
> https://www.postgresql.org/docs/cur= rent/role-attributes.html

AFAICS this page is merely trying to document the role properties that
can reasonably be considered to be kinds of privileges.=C2=A0 I don't h= ave
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/v= iew-pg-roles.html

role-attributes.html is not intended to be a substitute for that.

=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 regards, tom lane
--0000000000009f959b05dc7a2c72--