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 1vFyc8-004sfZ-Rk for pgsql-hackers@arkaria.postgresql.org; Mon, 03 Nov 2025 17:45:08 +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 1vFyc7-006zw3-QP for pgsql-hackers@arkaria.postgresql.org; Mon, 03 Nov 2025 17:45:06 +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 1vFyc6-006zvu-Ru for pgsql-hackers@lists.postgresql.org; Mon, 03 Nov 2025 17:45:06 +0000 Received: from fout-a8-smtp.messagingengine.com ([103.168.172.151]) by makus.postgresql.org with smtp (Exim 4.96) (envelope-from ) id 1vFyc4-005FoE-06 for pgsql-hackers@lists.postgresql.org; Mon, 03 Nov 2025 17:45:04 +0000 Received: from phl-compute-05.internal (phl-compute-05.internal [10.202.2.45]) by mailfout.phl.internal (Postfix) with ESMTP id 234ECEC02B3; Mon, 3 Nov 2025 12:45:03 -0500 (EST) Received: from phl-mailfrontend-01 ([10.202.2.162]) by phl-compute-05.internal (MEProxy); Mon, 03 Nov 2025 12:45:03 -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:message-id:mime-version:reply-to :subject:subject:to:to; s=fm1; t=1762191903; x=1762278303; bh=K6 7whrS2qfdbMkFKE9aw99GMNVQ8VRl31w21QEVvSI0=; b=CJQSeOhNh3N77b6dA7 jW7x4rm3wrvtYjas7AD+z9Gsn7LhT861fhoL3uZPGh6pCBZDDmr8ambWhcWyp0ia OYefua5TOs43ULFvdiN8N4auB3cVdEyyU0Mb9d3MJwGpeMFIS5RgYS3W2CEb6DUi gtS4dEmrd+SDh1+62yGvKs6ry3oUCHKBwev3xJylBDGzSsH6pjYMIqz40kx075G0 aLPzeNbwM86jjvCrxzvPNTn/sBla57E1HNAkk8vmf2QeeUNF62maNsSXZMJDWUXP 21Q7sEtsTDGAd4QgSNCJaaC7n0Sy6H7cf3YNAMWkdtRm51kRoOnKlPNYBwocEdXZ 1mKQ== 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: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=1762191903; x=1762278303; bh=K67whrS2qfdbMkFKE9aw99GMNVQ8 VRl31w21QEVvSI0=; b=Rond6SCLK3lN7+unepCtq69nFg1/s0ZgLO7Gd8u2Ncoq PGYohCJwN1WD9t/9ICjfBUMCQxHSkcblRaIskws+9FFf7mx9XpmRu5I3qoKGVVdh iiH2pgOOzTAYoITS5XymzWkB496x6L0CGz3dtwTQPv3ZRWQwT2m3jrBCbt5HYFll b+s4pJKxQQQPFWhajH7sV7ID7OQbHMCzIZCejdxLXZ0I9sGFuiMl4X9jiOB5E2kO eGGsWXErq5LoAy6yDToOBsJ/vP2J2S4K2EBvCPRalvSIp3nt2Z5NZ5aF0KsolHZb nOVcb9fCcSIA9oHSSEFjpGKhENqaK0gdZVgnL/qrrA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeffedrtdeggddujeekjeeiucetufdoteggodetrf dotffvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfurfetoffkrfgpnffqhgenuceu rghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujf gurhepfffhvfevuffkgggtugfgsehmkeerredttdejnecuhfhrohhmpemllhhvrghrohcu jfgvrhhrvghrrgcuoegrlhhvhhgvrhhrvgeskhhurhhilhgvmhhurdguvgeqnecuggftrf grthhtvghrnhepgefgledvkedvfffhudehheelgfdtueeguedutdffleduueeviedviedv ieetudeinecuffhomhgrihhnpegvnhhtvghrphhrihhsvggusgdrtghomhenucevlhhush htvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpegrlhhvhhgvrhhrvges khhurhhilhgvmhhurdguvgdpnhgspghrtghpthhtohepfedpmhhouggvpehsmhhtphhouh htpdhrtghpthhtohepphhgshhqlhdqhhgrtghkvghrsheslhhishhtshdrphhoshhtghhr vghsqhhlrdhorhhgpdhrtghpthhtohepuggrnhhivghlsehmrghnihhtohhuqdhmrghilh drohhrghdprhgtphhtthhopehtghhlsehsshhsrdhpghhhrdhprgdruhhs X-ME-Proxy: Feedback-ID: ie3de48e3:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 3 Nov 2025 12:45:00 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kurilemu.de; s=schmee; t=1762191871; bh=XJfd1+0N6g8vS74T7yev6ArgufIdjlmsdmKszqjYsnI=; h=Date:From:To:Cc:Subject:From; b=XubbVXb+aTdEK3aCydsdWzkZMRTL9ImuVtKyvM4TfyiioZJRk9wDicdXVxHwEKLKa cq0/pLoLxFmyiJ9Z7/RwNjbB5fgyWqMNjPGelpar5tfdlf24IWcobLKXH0fsKPZsEQ Bvmza5hVKnhjeTtoPit6MqQUvpYn/MBgPQst3HcqhaErBAYFq7F/kUiJKKmwFFuMLj ElXfD1q/QxMKVR+RHmPJyOG6KJnsiWHxQhcATrCKjl4EedKCj24W0LYgv5J753V8z+ pWmJvpmqC1F/VH/Ixf96pqUmIefIZLUgrTQydgSw1V09f+6YXVDVp+F63TA4OOOtqS P4pwFcpj6Ah6A== Received: by schmee.kurilemu.internal (Postfix, from userid 1000) id 1699376; Mon, 03 Nov 2025 19:44:31 +0200 (EET) Date: Mon, 3 Nov 2025 18:44:31 +0100 From: =?utf-8?Q?=C3=81lvaro?= Herrera To: Pg Hackers Cc: Daniel Verite , Tom Lane Subject: psql --help=variables missing csv_fieldsep Message-ID: <202511031738.eqaeaedpx5cr@alvherre.pgsql> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="xu65muiv3v2h3nct" Content-Disposition: inline Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --xu65muiv3v2h3nct Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit While messing with the \pset boolean display patch, I noticed that psql --help=variables is missing csv_fieldsep. Is there a reason for this? It appears to be an omission of commit aa2ba50c2c13 -- accidental? The attached patch adds it. -- Álvaro Herrera 48°01'N 7°57'E — https://www.EnterpriseDB.com/ Y una voz del caos me habló y me dijo "Sonríe y sé feliz, podría ser peor". Y sonreí. Y fui feliz. Y fue peor. --xu65muiv3v2h3nct Content-Type: text/x-diff; charset=utf-8 Content-Disposition: attachment; filename="0001-Have-psql-s-variables-show-csv_fieldsep.patch" From 2c452061b1e1388a7127fb7fd407c949aa6bec20 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=81lvaro=20Herrera?= Date: Mon, 3 Nov 2025 18:37:29 +0100 Subject: [PATCH] Have psql's "\? variables" show csv_fieldsep The omission is unexplained. --- src/bin/psql/help.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/bin/psql/help.c b/src/bin/psql/help.c index 6ae1a9940de..b635aa7dc57 100644 --- a/src/bin/psql/help.c +++ b/src/bin/psql/help.c @@ -480,6 +480,9 @@ helpVariables(unsigned short int pager) " border style (number)\n"); HELP0(" columns\n" " target width for the wrapped format\n"); + HELPN(" csv_fieldsep\n" + " field separator to be used in CSV output format (default \"%c\")\n", + DEFAULT_CSV_FIELD_SEP); HELP0(" display_false\n" " set the string to be printed in place of a boolean 'false'\n"); HELP0(" display_true\n" -- 2.47.3 --xu65muiv3v2h3nct--