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 1vAx7F-008BoJ-Ha for pgsql-hackers@arkaria.postgresql.org; Mon, 20 Oct 2025 21:08:28 +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 1vAx7E-004Fsb-FT for pgsql-hackers@arkaria.postgresql.org; Mon, 20 Oct 2025 21:08:27 +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 1vAx7D-004FsN-Kc for pgsql-hackers@lists.postgresql.org; Mon, 20 Oct 2025 21:08:27 +0000 Received: from fout-a3-smtp.messagingengine.com ([103.168.172.146]) by makus.postgresql.org with smtp (Exim 4.96) (envelope-from ) id 1vAx7A-002r7K-2f for pgsql-hackers@lists.postgresql.org; Mon, 20 Oct 2025 21:08:25 +0000 Received: from phl-compute-03.internal (phl-compute-03.internal [10.202.2.43]) by mailfout.phl.internal (Postfix) with ESMTP id E08EDEC0148; Mon, 20 Oct 2025 17:08:23 -0400 (EDT) Received: from phl-mailfrontend-01 ([10.202.2.162]) by phl-compute-03.internal (MEProxy); Mon, 20 Oct 2025 17:08:23 -0400 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=fm1; t=1760994503; x= 1761080903; bh=tIT7788Szok9eME/5l93sZeQY2HfL6u8igZpm7v7VgY=; b=i 0MZtf9Ftd1p9FkO2UIiLzVfOqGYaz8NPQjItIapX9h5wCndriQWv60TfhA+SuUzL jAlKpfhkBBOUbT84Mn/gK/cKsdQuedOSDDNx/fQzZVFiLJzU7IYjy4+3qXCKTL4q dOP5nH3m4qDmeIiYIGswWa8+2zJ+hSa9yjz49an6QPYP1KothByTahO7n8l4ScBC iHJ0NrLCBq1kj4tpG5pl4NTipz3IJK291NJDc2dRE/kuc5fYPjLwd0pz8KUok67g 9kNKzYk50N4NxrgUhX01LbyvydkocWp+CHGRK0MkpXwtcq8rF2AeWAn6AuLAvmqI JY8Yw2BCv+53tTtMNTL7g== 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=fm2; t=1760994503; x=1761080903; bh=t IT7788Szok9eME/5l93sZeQY2HfL6u8igZpm7v7VgY=; b=D9AheBa62WUss/A8m YEabnvUQ29JaHDeu9ouoIlAtJA0wE7Yvvobrpc4zxmvcKITal6B4KN+wFlH0tYH0 Oxjy2XJDHUYXMHwuMYtuh/A7WqCDL8okXm+2p3d0p+v8JoyL3ueWAW5gxFhaPv03 0V5Or0M16j0FluFBxxoPCot07zwaz/VOeAao3i4dlOe+hI+YSETVpP2gBYPi7SCk DhaGRASgL4sga4YoTE8SrhB2rRY9At6155KNjiRupDlNm68uwSeo4dBRKqWMU+j1 5Mc4b3WABxQ/q/pvyNHEW1AmdSw4ncd/K150dXZRihDbPuOV7G04hZq70Fjaxgj+ EILCw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeffedrtdeggddufeekkeeiucetufdoteggodetrf dotffvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfurfetoffkrfgpnffqhgenuceu rghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujf gurhepfffhvfevuffkgggtugfgjgesthekredttddtjeenucfhrhhomheplmhlvhgrrhho ucfjvghrrhgvrhgruceorghlvhhhvghrrhgvsehkuhhrihhlvghmuhdruggvqeenucggtf frrghtthgvrhhnpeehuedutdeiueelueejteeuveelueekudehleelheehfeejfeehudel teffkedtleenucffohhmrghinhepvghnthgvrhhprhhishgvuggsrdgtohhmpdhthhgvlh hinhhugihrvghvihgvfidrtghomhenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgr mhepmhgrihhlfhhrohhmpegrlhhvhhgvrhhrvgeskhhurhhilhgvmhhurdguvgdpnhgspg hrtghpthhtohepvddpmhhouggvpehsmhhtphhouhhtpdhrtghpthhtohepuggrvhhiugdr ghdrjhhohhhnshhtohhnsehgmhgrihhlrdgtohhmpdhrtghpthhtohepphhgshhqlhdqhh grtghkvghrsheslhhishhtshdrphhoshhtghhrvghsqhhlrdhorhhg X-ME-Proxy: Feedback-ID: ie3de48e3:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 20 Oct 2025 17:08:23 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kurilemu.de; s=schmee; t=1760994501; bh=D6hb3n4eV/GuPTVSdDLl9WBgKkTuKdwCg2a9Uq2F2t8=; h=Date:From:To:Cc:Subject:In-Reply-To:From; b=tWG+kgcIwt+vudejKwUtKZi+9jZNvsQjfaNe9cbJfHrXu7Zp1tr5jEW7/b5BCmF/K JvMVmF2atsJ0tPgwsLJTdSRIOHxW8gLFAg73lN8932qt9I7Lo8EfZKWoL4EOlHmrdW L5t+QItu8/dLhzHvgfjRYP3khQJvaAPrTk6hKUvhymWICxlIxqmYpvJzZi9dxUI+EU V3z+8e48rJexryNj2aUu4hhIzKTFju/L597UhBeLTokVF0ooCq3+0CWFCB5dLnBsF9 nPsNy1tRMLmFrMWywnYJA3lNAgSzOGz41Uv7tBjngQnww8T26FegwM77a58PradzSK cJZKS7/R66JWQ== Received: by schmee.kurilemu.internal (Postfix, from userid 1000) id 449656A; Mon, 20 Oct 2025 23:08:21 +0200 (CEST) Date: Tue, 21 Oct 2025 00:08:21 +0300 From: =?utf-8?Q?=C3=81lvaro?= Herrera To: "David G. Johnston" Cc: PostgreSQL Hackers Subject: Re: Add \pset options for boolean value display Message-ID: <202510202105.7hm2cy2m6qye@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 2025-Oct-20, David G. Johnston wrote: > Thank you. Seems good from a quick read. I’m regretting the choice of the > display_ prefix; is there any technical limitation or other opposition to > using just true and false? > > \pset true ‘true’ > \pset false ‘false’ > > To keep in line with: > > \pset null ‘(null)’ Uhm. I don't know. No technical limitation AFAICS. It looks a bit weird to me, because those names are so generic; but also I cannot really object to them. That said, such a last-minute bikeshed comment seems like a perfect way to kill your patch. I'll gladly take a vote. -- Álvaro Herrera Breisgau, Deutschland — https://www.EnterpriseDB.com/ "On the other flipper, one wrong move and we're Fatal Exceptions" (T.U.X.: Term Unit X - http://www.thelinuxreview.com/TUX/)