Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qM4Bg-001K9s-By for pgsql-hackers@arkaria.postgresql.org; Wed, 19 Jul 2023 10:13:40 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1qM4Be-003PbM-RU for pgsql-hackers@arkaria.postgresql.org; Wed, 19 Jul 2023 10:13:38 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qM4Bd-003PbA-Ms; Wed, 19 Jul 2023 10:13:38 +0000 Received: from out1-smtp.messagingengine.com ([66.111.4.25]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qM4Ba-000IBp-Gt; Wed, 19 Jul 2023 10:13:36 +0000 Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 2533C5C00DF; Wed, 19 Jul 2023 06:13:31 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Wed, 19 Jul 2023 06:13:31 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :reply-to:sender:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t=1689761611; x= 1689848011; bh=o7bm7AmXdz1p7KF9WYUNJ9Z/pvkoAAvq7lU3cc9SM7c=; b=I tHkAodP0TUI47hb29NtaG1X1eeoss63skCcQGzz3RpC6LpYIxX/IeJZvqvhOtQ+f iEpbMSkvTjca7KcABp3/YI19QK059pSLmcebrYFSfDCkya4e8/iuluvdMlGy0w+C e9K83XG+K1xQKFHQD+E9E9DOc7WepHwgcHoumZJAxMHiPUKwJrNKO9UYJOD1e2ml lTT9ZVsAxFjTu3PN0VfqV9DjUFkFgVvM7hH4JAblViFkz4jdJEA/X9kvRPwZPuLr 4qQD1id2OedTNDh1Z1wXvav/IdhpGibbIeyf2AhydvD/sFZao/iLJMf43kX7O95N m5//qe9n1Jy/vtHTDMx5Q== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedviedrgeekgddtlecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpeffhffvvefukfggtggugfgjsehtkeertddttdejnecuhfhrohhmpeetlhhvrghr ohcujfgvrhhrvghrrgcuoegrlhhvhhgvrhhrvgesrghlvhhhrdhnohdqihhprdhorhhgqe enucggtffrrghtthgvrhhnpeefieeftdefffetkeetuedtudejueekiedugeffieffteef hfejfeektdejvdegvdenucffohhmrghinhepvghnthgvrhhprhhishgvuggsrdgtohhmpd hthhgvuggrihhlhiifthhfrdgtohhmnecuvehluhhsthgvrhfuihiivgeptdenucfrrghr rghmpehmrghilhhfrhhomheprghlvhhhvghrrhgvsegrlhhvhhdrnhhoqdhiphdrohhrgh X-ME-Proxy: Feedback-ID: ia2694551:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 19 Jul 2023 06:13:30 -0400 (EDT) Received: by perhan.alvh.no-ip.org (Postfix, from userid 1000) id D93E99D; Wed, 19 Jul 2023 12:13:28 +0200 (CEST) Date: Wed, 19 Jul 2023 12:13:28 +0200 From: Alvaro Herrera To: Pavel Luzanov Cc: Tom Lane , "David G. Johnston" , "Jonathan S. Katz" , 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 Message-ID: <20230719101328.dcfbbvxjenac7ers@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk I tried this out. It looks good to me, and I like it. Not translating the labels seems correct to me. +1 for backpatching to 16, given that it's a psql-only change that pertains to a backend change that was done in the 16 timeframe. Regarding the controversy of showing SET for previous versions, I think it's clearer if it's shown, because ultimately what the user really wants to know is if the role can be SET to; they don't want to have to learn from memory in which version they can SET because the column is empty and in which version they have to look for the label. -- Álvaro Herrera PostgreSQL Developer — https://www.EnterpriseDB.com/ "Small aircraft do not crash frequently ... usually only once!" (ponder, http://thedailywtf.com/)