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.96) (envelope-from ) id 1vtSkM-009G0u-2Q for pgsql-hackers@arkaria.postgresql.org; Fri, 20 Feb 2026 15:48:51 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1vtSkK-008Ob0-32 for pgsql-hackers@arkaria.postgresql.org; Fri, 20 Feb 2026 15:48:48 +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.96) (envelope-from ) id 1vtSkJ-008Oar-39 for pgsql-hackers@lists.postgresql.org; Fri, 20 Feb 2026 15:48:48 +0000 Received: from fout-b7-smtp.messagingengine.com ([202.12.124.150]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.98.2) (envelope-from ) id 1vtSkG-00000000Ntx-3W9u for pgsql-hackers@lists.postgresql.org; Fri, 20 Feb 2026 15:48:47 +0000 Received: from phl-compute-06.internal (phl-compute-06.internal [10.202.2.46]) by mailfout.stl.internal (Postfix) with ESMTP id 626E31D001CD; Fri, 20 Feb 2026 10:48:43 -0500 (EST) Received: from phl-frontend-03 ([10.202.2.162]) by phl-compute-06.internal (MEProxy); Fri, 20 Feb 2026 10:48:43 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kurilemu.de; h= cc:cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :reply-to:subject:subject:to:to; s=fm2; t=1771602523; x= 1771688923; bh=a4fWh5XK2gxP+PtHGAU2naT29VOYMxF//Sg09iJQ0cE=; b=Q eIU8R7/sBCRrFTtZ9rQ0vrKyXx6J0T03zwskJ97Bomr3JAYrqWiY/NptK+6nvz4X TUwlOweO9x7mVm3XXJLlYLtGvphW7JGsJ1H8eEAT90xGlVYqL1a/PVB1KU8drShk s0iOBlT13F5yxBjeAxW7uay0L1A59Dpwxs2wcoPOLQLDCTXIflv5apRVo8VWCAKe fPGvPRYzOk66nrEw+d8qcLJE3Pst22iEjsoXeQ/UxRhuwa5Y0VT3fgnD/8/gjYKR Q5iOdVWwY7SnHoT5Fz8RyrkeXWlBXcmYKRvow72mLeesaV9xHdWWCXOq57F8AkvF KKSovZT6u1JJyhBUOQ+EQ== 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:subject:subject:to:to:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm3; t=1771602523; x=1771688923; bh=a 4fWh5XK2gxP+PtHGAU2naT29VOYMxF//Sg09iJQ0cE=; b=M4HGOfOEgdI+Nw41g hgVWfXS6rwC6vyTnCzhYIogx5mErqFhbZn+1OHbmfbPyZUsAPezCUkEBrs7NCpS0 r6xap/rC7M2TeXnAGzEdXnIMB/oukYj/aez4elbb3HRXJ49O63UinENbA1Bt9CbN VZjIPyzeMkZXsktP2tlSoOBH47hW6RmVaZKLM3XlJVcvcsTTgzgPA+iI3X/eDesE OuyK0H99djA+0Wp6gtYI1ySKFv3GEQe9m6QLPSP1bYvw8m0GUpaHpWoSumA2K6rt UmjRn/DR0ut0jvfJ+xz01cY0UhbKjVgVppcFAdNaipjLe7vyOnwbcyXlYgJqpWIb Bm2vw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefgedrtddtgddvvdekkeegucetufdoteggodetrf dotffvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfurfetoffkrfgpnffqhgenuceu rghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujf gurhepfffhvfevuffkgggtugfgjgesthekredttddtjeenucfhrhhomheplmhlvhgrrhho ucfjvghrrhgvrhgruceorghlvhhhvghrrhgvsehkuhhrihhlvghmuhdruggvqeenucggtf frrghtthgvrhhnpeetuedvheffkeevgfeuheevteevkefggedttdeufeeuheduuddthfef fffhjeefffenucffohhmrghinhepvghnthgvrhhprhhishgvuggsrdgtohhmnecuvehluh hsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheprghlvhhhvghrrhgv sehkuhhrihhlvghmuhdruggvpdhnsggprhgtphhtthhopedvpdhmohguvgepshhmthhpoh huthdprhgtphhtthhopehmrghsrghordhfuhhjihhisehgmhgrihhlrdgtohhmpdhrtghp thhtohepphhgshhqlhdqhhgrtghkvghrsheslhhishhtshdrphhoshhtghhrvghsqhhlrd horhhg X-ME-Proxy: Feedback-ID: ie3de48e3:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 20 Feb 2026 10:48:42 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kurilemu.de; s=schmee; t=1771602520; bh=fOgx+rtqtIvLzEmVbG01UJwo54oTLsj+LimDVR4K6ro=; h=Date:From:To:Cc:Subject:In-Reply-To:From; b=oxyashmqGLlC1XE+VeX9e5hxjpWyfRWup7VUJf+j0ppm22yIGcjUQRyIsd7GbKUaB q79rwP/L/6z3S0fLfdWyMJkwPyvPxGTYxbk6laiylO4X/fHSFikSoomw7BMe8aocEm 1jIQTXUMbXP+ApkPij62O/MZRwU2i9/ksimpOIt7+yFn7H2H8GOmLsriB4siNDvpB+ kb7Bk2KVEhDIsH2DxPS/V6g3Hm1n3yihdgj5FVhVs0OrPxNIHVk4t3Q9NAzZ7P/b3p U7mYIdvRwBgAUt3EzAbV+wSJjs0w2btk5Yrz2KHasgDEZlj3Y03YspdvOG1c3b/ttz IhcQSoI7y41iw== Received: by schmee.kurilemu.internal (Postfix, from userid 1000) id 169EA55; Fri, 20 Feb 2026 16:48:40 +0100 (CET) Date: Fri, 20 Feb 2026 16:48:40 +0100 From: =?utf-8?Q?=C3=81lvaro?= Herrera To: Fujii Masao Cc: PostgreSQL Hackers Subject: Re: Show comments in \dRp+, \dRs+, and \dX+ psql meta-commands Message-ID: <202602201522.fbznppk5cxmz@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 On 2026-Feb-16, Fujii Masao wrote: > The psql meta-commands that list publications, subscriptions, and extended > statistics (\dRp+, \dRs+, and \dX+) do not display their associated comments, > whereas other \d meta-commands do. This makes it inconvenient to view > these objects together with their descriptions. I'm not in love with the fact that some "plus" commands display the description and I wish I had a way to turn that off. On the other hand, sometimes I want to see the comments for objects and little else. But I think it's infrequent that I want to see both the comments and simultaneously the details that only appear in verbose mode. This is to say that I'm also not in love with expanding the "plus" commands to print comments in more cases as you propose, and I wonder if we can find something more ergonomical. For instance, what if we added a second flag to the commands (eg. an asterisk/star, but could be anything that's easily typed), so that you can invoke the normal "verbose" bit separately from the comments? So if you want details but no comments, you use "\d+", and if you want comments but no details you use "\d*", and if you want everything, then you use \d+* or \d*+? -- Álvaro Herrera PostgreSQL Developer — https://www.EnterpriseDB.com/ "I dream about dreams about dreams", sang the nightingale under the pale moon (Sandman)