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 1qCjT0-0002Er-9Z for pgsql-hackers@arkaria.postgresql.org; Fri, 23 Jun 2023 16:16:58 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1qCjSz-0002K4-6V for pgsql-hackers@arkaria.postgresql.org; Fri, 23 Jun 2023 16:16:57 +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 1qCjSy-0002In-Op; Fri, 23 Jun 2023 16:16:56 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qCjSw-00033Y-3G; Fri, 23 Jun 2023 16:16:56 +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 35NGGmO6050451; Fri, 23 Jun 2023 12:16:49 -0400 From: Tom Lane To: "David G. Johnston" cc: "Jonathan S. Katz" , Pavel Luzanov , Robert Haas , David Zhang , "pgsql-hackers@lists.postgresql.org" , rmt@lists.postgresql.org, horikyota.ntt@gmail.com Subject: Re: psql: Add role's membership options to the \du+ command In-reply-to: References: <1525117.1680628353@sss.pgh.pa.us> <1575395.1680629866@sss.pgh.pa.us> <1831161.1680703111@sss.pgh.pa.us> <2977612.1683131109@sss.pgh.pa.us> <39e7431c-1224-ab05-c67c-68f4cf625442@postgrespro.ru> <6b64c59a-fe41-bb07-d0cd-856896412b00@postgresql.org> <7aa3d663-1ea9-de0d-c13a-cbce83902214@postgrespro.ru> <2aa2bbb9-d8cb-cddf-875f-49b2634525c1@postgre! sql.org> <4128935.1687478926@sss.pgh.pa.us> Comments: In-reply-to "David G. Johnston" message dated "Fri, 23 Jun 2023 08:52:34 -0700" MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-ID: <50449.1687537008.1@sss.pgh.pa.us> Content-Transfer-Encoding: 8bit Date: Fri, 23 Jun 2023 12:16:48 -0400 Message-ID: <50450.1687537008@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk "David G. Johnston" writes: > On Thu, Jun 22, 2023 at 5:08 PM Tom Lane wrote: >> * I agree that the "tabular" format looks nicer and has fewer i18n >> issues than the other proposals. > As you are on board with a separate command please clarify whether you mean > the tabular format but still with newlines, one row per grantee, or the > table with one row per grantor-grantee pair. I'd lean towards a straight table with a row per grantee/grantor. I tend to think that faking table layout with some newlines is a poor idea. I'm not dead set on that approach though. regards, tom lane