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 1neMD5-00031p-0q for pgsql-docs@arkaria.postgresql.org; Tue, 12 Apr 2022 19:29:55 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1neMD2-0004je-OU for pgsql-docs@arkaria.postgresql.org; Tue, 12 Apr 2022 19:29:52 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1neMD2-0004jV-Gv for pgsql-docs@lists.postgresql.org; Tue, 12 Apr 2022 19:29:52 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1neMD0-0008Hr-5N for pgsql-docs@lists.postgresql.org; Tue, 12 Apr 2022 19:29:51 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 23CJTmbg910016; Tue, 12 Apr 2022 15:29:48 -0400 From: Tom Lane To: wantakeith+160@gmail.com cc: pgsql-docs@lists.postgresql.org Subject: Re: role attributes are missing from this page In-reply-to: <164978692927.1276557.9862487759615827386@wrigleys.postgresql.org> References: <164978692927.1276557.9862487759615827386@wrigleys.postgresql.org> Comments: In-reply-to PG Doc comments form message dated "Tue, 12 Apr 2022 18:08:49 -0000" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <910014.1649791788.1@sss.pgh.pa.us> Date: Tue, 12 Apr 2022 15:29:48 -0400 Message-ID: <910015.1649791788@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk 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