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 1vmrZx-00H8aq-1B for pgsql-hackers@arkaria.postgresql.org; Mon, 02 Feb 2026 10:54:49 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1vmrZt-00DRL1-1D for pgsql-hackers@arkaria.postgresql.org; Mon, 02 Feb 2026 10:54:46 +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.96) (envelope-from ) id 1vmrZs-00DRKq-1y for pgsql-hackers@lists.postgresql.org; Mon, 02 Feb 2026 10:54:45 +0000 Received: from fhigh-b4-smtp.messagingengine.com ([202.12.124.155]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.98.2) (envelope-from ) id 1vmrZp-00000000fA0-48QV for pgsql-hackers@lists.postgresql.org; Mon, 02 Feb 2026 10:54:44 +0000 Received: from phl-compute-01.internal (phl-compute-01.internal [10.202.2.41]) by mailfhigh.stl.internal (Postfix) with ESMTP id A55C07A015E; Mon, 2 Feb 2026 05:54:38 -0500 (EST) Received: from phl-frontend-04 ([10.202.2.163]) by phl-compute-01.internal (MEProxy); Mon, 02 Feb 2026 05:54:38 -0500 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=1770029678; x=1770116078; bh=t KMc663NIYRs9Cla9SWLykrVU+9F9pja7S6f/brB/mU=; b=YDleo0CFZ3+qMUTFR apggBB60uwW7X3feQip7gNIICLXUBt+i7RdiH+WGTsmV5F0OoeWFDmspfj79CIQ2 DOqW2vvI/rg4WJEwuSGB3tUaYr4oTTi09aNdInHTzLjzQBCJcezipbdZPJTMH78L aJFwSFVI/fikfrRdsIbzeAVVLwf6B8Tf2DLKIwcXSWzk6eJv9iJC4mowwkih3+sj FYPaZH+R/kOTvsBlVAAbUmQObL375QF49GuAT3Eo6q97oaDrskiqCIYEMZStfmc4 yIEH+eh2b4LyPKHyLbTCp3pJVofXK3dw3CiVACtPjG5f8rKuBAaMEdH/HLiqCh13 YoBGw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefgedrtddtgddujeejgeehucetufdoteggodetrf dotffvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfurfetoffkrfgpnffqhgenuceu rghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujf gurhepfffhvfevuffkgggtugfgjgesthekredttddtjeenucfhrhhomheplmhlvhgrrhho ucfjvghrrhgvrhgruceorghlvhhhvghrrhgvsegrlhhvhhdrnhhoqdhiphdrohhrgheqne cuggftrfgrthhtvghrnhepveeugeefudegfefgudeiieffvedtheduiedujeefhfetvdeu geeijeekkefgieefnecuffhomhgrihhnpegvnhhtvghrphhrihhsvggusgdrtghomhdpph gruhhlghhrrghhrghmrdgtohhmnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghm pehmrghilhhfrhhomheprghlvhhhvghrrhgvsegrlhhvhhdrnhhoqdhiphdrohhrghdpnh gspghrtghpthhtohepiedpmhhouggvpehsmhhtphhouhhtpdhrtghpthhtoheprghnughr vgifseguuhhnshhlrghnvgdrnhgvthdprhgtphhtthhopehmrghhiheirhhunhesghhmrg hilhdrtghomhdprhgtphhtthhopehnrghthhgrnhgusghoshhsrghrthesghhmrghilhdr tghomhdprhgtphhtthhopehsrhhinhgrthhhvddufeefsehgmhgrihhlrdgtohhmpdhrtg hpthhtohepphhgshhqlhdqhhgrtghkvghrsheslhhishhtshdrphhoshhtghhrvghsqhhl rdhorhhgpdhrtghpthhtohepthhglhesshhsshdrphhghhdrphgrrdhush X-ME-Proxy: Feedback-ID: ia2694551:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 2 Feb 2026 05:54:37 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alvh.no-ip.org; s=schmee; t=1770029674; bh=oh0PjGp87wZXaW4krxfGHiCUZnA6ppFhjlKt3mSs42k=; h=Date:From:To:Cc:Subject:In-Reply-To:From; b=YF/fAULn6a32kESX9DukTD9ohmjKnC23LliWk1g4/RxdQEXHK6L++aRmtHbRkCUgh BrfL128evKJTPkfiQch6FlwT2EiYTjkjBAFok1M8I62+pzFuZWK5XrdkiaD/4idRxo zWQyOJgrPCXstP31ztOPWgEXW1WvngfK5LVZP1nKVHxsVohisg9vMakcezB7HW6Kp1 36hHBAoJLbnuckYur8ULy3lT+TZSooSdijG8tYUK4eIpKF/meTqlKM7ZzRA9dodRga 7pPAju5WFDwwvcBAcXOz5o+RXMUhtefQBa15dbbHgSD6CwRJkgZyj6u9uqZyVECsVy Y1Idduuo56F2g== Received: by schmee.kurilemu.internal (Postfix, from userid 1000) id BFE3E74; Mon, 02 Feb 2026 11:54:34 +0100 (CET) Date: Mon, 2 Feb 2026 11:54:34 +0100 From: =?utf-8?Q?=C3=81lvaro?= Herrera To: Tom Lane Cc: Andrew Dunstan , Mahendra Singh Thalor , Nathan Bossart , Srinath Reddy , pgsql-hackers@lists.postgresql.org Subject: Re: getting "shell command argument contains a newline or carriage return:" error with pg_dumpall when db name have new line in double quote Message-ID: <202602021048.m5lsx277xfuw@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1235912.1769703839@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Hello, This is not an objection to this patch, but I don't see why we should allow newlines in tablespace names if we're going to restrict them in names of roles and databases. Is it only because pg_dumpall happens not to dump a comment with the tablespace name on it, like we do for dbs and roles? Sounds unprincipled. I think keeping these things under the same rules makes the most sense. -- Álvaro Herrera Breisgau, Deutschland — https://www.EnterpriseDB.com/ "The problem with the facetime model is not just that it's demoralizing, but that the people pretending to work interrupt the ones actually working." -- Paul Graham, http://www.paulgraham.com/opensource.html