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 1vGK4A-00CTnR-RJ for pgsql-hackers@arkaria.postgresql.org; Tue, 04 Nov 2025 16:39:30 +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 1vGK49-00F0Tj-Ov for pgsql-hackers@arkaria.postgresql.org; Tue, 04 Nov 2025 16:39:28 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1vGK49-00F0Tb-DZ for pgsql-hackers@lists.postgresql.org; Tue, 04 Nov 2025 16:39:28 +0000 Received: from fhigh-a1-smtp.messagingengine.com ([103.168.172.152]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1vGK45-005xem-2T for pgsql-hackers@lists.postgresql.org; Tue, 04 Nov 2025 16:39:28 +0000 Received: from phl-compute-04.internal (phl-compute-04.internal [10.202.2.44]) by mailfhigh.phl.internal (Postfix) with ESMTP id 10BBF1400159; Tue, 4 Nov 2025 11:39:24 -0500 (EST) Received: from phl-mailfrontend-02 ([10.202.2.163]) by phl-compute-04.internal (MEProxy); Tue, 04 Nov 2025 11:39:24 -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=fm1; t=1762274364; x= 1762360764; bh=AQSa2c2eC0fVniCNrtScsMcg78/kN6hgrNRYeNj5hhk=; b=B +VBRxpFUeI9syvMGcVaHkqUYe7jj9X0AXUD2w01TdK/plladxoSO6Ljlm/OeVc7j o8BhR7Qt2ZlBzsyDDn7mnoo2C0zRTx1zHoW14BIcEjBp9seqbMJnWRC7POL7B2ft H9GmcdehJ5yb/MgP9A7h8hQqr/WRl8S4Z9r2p7cyu401mh9sp7cAvZH2z0t88GYL MaYhrKv6QRVTz2r6+3RP7Wd5SJh6VmViKzhzgKin1vsxgYmKt/tKtDsZQo3iC9CE duGSEVuTs0HbjuPn9FFsP3dHr7CZq82YxxnLaGSgmQkiZmYgaynQW1yzo+g+GUTU LAwwEOV7dWbwFKwIlwG3A== 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=1762274364; x=1762360764; bh=A QSa2c2eC0fVniCNrtScsMcg78/kN6hgrNRYeNj5hhk=; b=nLX5KgRfA/bB5n3vB EiUVo3y7wD7jZCZFAkP94PLrSvMNiLU0zyWSCCwHe1t6uAINjKIwHxo/vjYGtjdc ToqTRb02KL7PgAIn8ugRnx3MBEMqAh68SBv8SnHdfaIduC9ddRAccZINH2GeLwhk XvAEDcSKvSpvX9ZjAuQGE09pLUuIte2iQQszOiGWOgv6UXd3GDQg6XHEU1BzSpyI xmyLtFgvE9bISbi96mx0KO48+1ns1VU09Pu1qR5TOUs2FV3YPzIdtKDKAbBSqq/w NsfzQw3r4KN2x+0a606yIc/iDRC4aAh7Qo9D8rpk5yHG7gRHVInaDEulp3Gd+WEY i1W/A== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeffedrtdeggddukeduhedvucetufdoteggodetrf dotffvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfurfetoffkrfgpnffqhgenuceu rghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujf gurhepfffhvfevuffkgggtugfgjgesmhekreertddtjeenucfhrhhomheplmhlvhgrrhho ucfjvghrrhgvrhgruceorghlvhhhvghrrhgvsehkuhhrihhlvghmuhdruggvqeenucggtf frrghtthgvrhhnpeegudetudejheduveevgeehjeegleevveevvdeutdejtdekuefhheeh geevtdejteenucffohhmrghinhepvghnthgvrhhprhhishgvuggsrdgtohhmnecuvehluh hsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheprghlvhhhvghrrhgv sehkuhhrihhlvghmuhdruggvpdhnsggprhgtphhtthhopeefpdhmohguvgepshhmthhpoh huthdprhgtphhtthhopehpghhsqhhlqdhhrggtkhgvrhhssehlihhsthhsrdhpohhsthhg rhgvshhqlhdrohhrghdprhgtphhtthhopegurghnihgvlhesmhgrnhhithhouhdqmhgrih hlrdhorhhgpdhrtghpthhtohepthhglhesshhsshdrphhghhdrphgrrdhush X-ME-Proxy: Feedback-ID: ie3de48e3:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 4 Nov 2025 11:39:22 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kurilemu.de; s=schmee; t=1762274360; bh=UhsALxnzrhMcrBUC8uww555mYVLrvwQ9zHFaP9X7IpQ=; h=Date:From:To:Cc:Subject:In-Reply-To:From; b=KDFruhaF/2M3gN2SIVtO8uv3HmvOjvS0sDQ4eIAjpKrTkdPUGyPisFh3+MpnWooKa P7pnuZOaxuviSIkuDW+C3WRMDthWXbD5oYTwKK1P+Wt8rMcjHZg+e7LyPVNAVSCnO8 vAV9HanaCQi/riSklt3wvQSiKfT90+qHn7UFducVEzG3hqBX+s/kY82CE4aHaEkDo5 FGNF8v5rgPREDpTDzqUJ7aWndxXBeCkiIuhsWGvtV3ySlEX71f7Z93RRZxRKhF4dHu TCom4yqc9GlO4TuU7kOjIjXUhGQ+xKIZGsGjS+0U+kTPF9fbikOHqNTGuJo0QD1U9a r0AcjIl+AQnCQ== Received: by schmee.kurilemu.internal (Postfix, from userid 1000) id 7BA3F76; Tue, 04 Nov 2025 18:39:20 +0200 (EET) Date: Tue, 4 Nov 2025 17:39:20 +0100 From: =?utf-8?Q?=C3=81lvaro?= Herrera To: Tom Lane Cc: Pg Hackers , Daniel Verite Subject: Re: psql --help=variables missing csv_fieldsep Message-ID: <202511041638.dm4qukcxfjto@alvherre.pgsql> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="2g5zjgfxgfiz4abn" Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <374722.1762203209@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --2g5zjgfxgfiz4abn Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit On 2025-Nov-03, Tom Lane wrote: > > I find this one you quote somewhat unreadable, so I > > was going to propose to remove it, and instead direct the user to look > > at "\? variables" for the exhaustive list. That one is also a bit > > easier to cross-check, I think. (There's also tab-complete.) > > Agreed that the set of \pset options has bloated to the point where > that presentation is unreadable. How about this? -- Álvaro Herrera PostgreSQL Developer — https://www.EnterpriseDB.com/ --2g5zjgfxgfiz4abn Content-Type: text/x-diff; charset=utf-8 Content-Disposition: attachment; filename="0001-Refer-to-variables-for-pset-options.patch" From 626966286636c9fc12adcd02bceb7eaeee94ff79 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=81lvaro=20Herrera?= Date: Tue, 4 Nov 2025 17:34:52 +0100 Subject: [PATCH] Refer \? to "\? variables" for pset options --- src/bin/psql/help.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/bin/psql/help.c b/src/bin/psql/help.c index 45d20ea57bc..ec0b49b957b 100644 --- a/src/bin/psql/help.c +++ b/src/bin/psql/help.c @@ -290,12 +290,7 @@ slashUsage(unsigned short int pager) HELPN(" \\H toggle HTML output mode (currently %s)\n", ON(pset.popt.topt.format == PRINT_HTML)); HELP0(" \\pset [NAME [VALUE]] set table output option\n" - " (border|columns|csv_fieldsep|display_false|display_true|\n" - " expanded|fieldsep|fieldsep_zero|footer|format|linestyle|\n" - " null|numericlocale|pager|pager_min_lines|recordsep|\n" - " recordsep_zero|tableattr|title|tuples_only|\n" - " unicode_border_linestyle|unicode_column_linestyle|\n" - " unicode_header_linestyle|xheader_width)\n"); + " see \"\\? variables\" for valid options\n"); HELPN(" \\t [on|off] show only rows (currently %s)\n", ON(pset.popt.topt.tuples_only)); HELP0(" \\T [STRING] set HTML tag attributes, or unset if none\n"); -- 2.47.3 --2g5zjgfxgfiz4abn--