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 1vJBA7-00DU4z-3A for pgsql-docs@arkaria.postgresql.org; Wed, 12 Nov 2025 13:45:27 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1vJBA3-00Bhq0-1k for pgsql-docs@arkaria.postgresql.org; Wed, 12 Nov 2025 13:45:23 +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 1vJBA2-00BhpX-2E for pgsql-docs@lists.postgresql.org; Wed, 12 Nov 2025 13:45:23 +0000 Received: from fout-a1-smtp.messagingengine.com ([103.168.172.144]) by makus.postgresql.org with smtp (Exim 4.96) (envelope-from ) id 1vJBA0-006jiu-2o for pgsql-docs@lists.postgresql.org; Wed, 12 Nov 2025 13:45:21 +0000 Received: from phl-compute-03.internal (phl-compute-03.internal [10.202.2.43]) by mailfout.phl.internal (Postfix) with ESMTP id 1D536EC02BF; Wed, 12 Nov 2025 08:45:19 -0500 (EST) Received: from phl-mailfrontend-02 ([10.202.2.163]) by phl-compute-03.internal (MEProxy); Wed, 12 Nov 2025 08:45:19 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=eisentraut.org; h=cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm2; t=1762955119; x=1763041519; bh=1YEox0j90vzJd7jFmrxOYPpN3a8n2oaU+uoome3W8X8=; b= YKoAHfGhoniiDi5lgAhlFO0r0S0VboWIiBkTIIiWE4NzaLsX1SLrxErZlmS19e9L Led10ooAl9ia1NcZ21VK92eU3AaDNsg/7WsBajU4DH65MjRBTFSQx/L98O3UKbkp WLpeF7Yxxek4AsMF0DgwNjiBD0BTVygP2N1HtPQshcPo+JSLnq4op4iKat97vcUZ Fv5uVKVP0Lw2E9V9695jX9c1V4qsEULyNQIw47RSc04tkRuM84c5+F5vCr6luBN3 c8rlE25FBzHV/98Yam6EX81h4UnVzxIL1sbF81LKTwZT36PrQu4Ik87rlkb9BjnD LYeIZxmEwE5nQJ8ou9P7eA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=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:references :reply-to:subject:subject:to:to:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm3; t=1762955119; x=1763041519; bh=1 YEox0j90vzJd7jFmrxOYPpN3a8n2oaU+uoome3W8X8=; b=x9GXCUd1ds2h2gYXN e0Bpk/yTWDS+LO0/vvXLTjlnv1d+ybUyTsVfAYuX+647P4xwdiAJe8isI9BhN6+h 0XzScozDITVX9iTdbcliMHIiZDwGWoQG9wG5m9BofmB5sUZuM2YOKeHGUph0Dohd 6jm7t7M55XNmToyQjnXnW4278RCtIVkYAlpx0y0IBwq4qDM/FLTqMo2mReI1f104 YWpJhHveO/WnxNcnDw3xw3zDX5cBLO/tk7lh1yOagkBLrGWGjKSQr/mgsPsoLdV8 +zsJ2UmqBFkazpGVBpXlji41MtnBi9SHwERFpdwhg3Eo3sqSwjrwWk0MQHA0dhqw zG1Bw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeffedrtdeggddvtdegvdefucetufdoteggodetrf dotffvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfurfetoffkrfgpnffqhgenuceu rghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujf gurhepkfffgggfuffvfhfhjggtgfesthejredttddvjeenucfhrhhomheprfgvthgvrhcu gfhishgvnhhtrhgruhhtuceophgvthgvrhesvghishgvnhhtrhgruhhtrdhorhhgqeenuc ggtffrrghtthgvrhhnpeehiedvhfeuhfeugefgfeehgeejtdevuefhtefhueefvddugfdt ueehgfefudfhffenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfh hrohhmpehpvghtvghrsegvihhsvghnthhrrghuthdrohhrghdpnhgspghrtghpthhtohep vddpmhhouggvpehsmhhtphhouhhtpdhrtghpthhtohepsghruhgtvgesmhhomhhjihgrnh druhhspdhrtghpthhtohepphhgshhqlhdqughotghssehlihhsthhsrdhpohhsthhgrhgv shhqlhdrohhrgh X-ME-Proxy: Feedback-ID: ie0a040ee:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 12 Nov 2025 08:45:17 -0500 (EST) Message-ID: <97c4fe46-0c52-4fe8-90d3-10da182e587c@eisentraut.org> Date: Wed, 12 Nov 2025 14:45:16 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Quoting of *_command arguments To: Bruce Momjian , PostgreSQL-documentation References: Content-Language: de-DE, en-US From: Peter Eisentraut In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 11.11.25 20:31, Bruce Momjian wrote: > We inconsistently double-quote the "%f" and "%p" arguments of > "archive_command" and "restore_command". Paths with spaces or special > characters, especially directory names in these cases, would need > double-quotes. > > This patch adds double-quotes to all instances. I can also go the other > way and remove them all, but we should be consistent. I think %f doesn't need to be quoted because it will only contain certain characters, but if we tried to clarify that it would probably be too confusing. It makes sense to nudge people that some quoting is prudent. Your patch looks good to me.