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 1vGDpD-00AHIu-Fu for pgsql-hackers@arkaria.postgresql.org; Tue, 04 Nov 2025 09:59:39 +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 1vGDpC-00Cjan-4L for pgsql-hackers@arkaria.postgresql.org; Tue, 04 Nov 2025 09:59:37 +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 1vGDpB-00Cjad-Iy for pgsql-hackers@lists.postgresql.org; Tue, 04 Nov 2025 09:59:36 +0000 Received: from fout-b1-smtp.messagingengine.com ([202.12.124.144]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1vGDp7-005uUW-2q for pgsql-hackers@lists.postgresql.org; Tue, 04 Nov 2025 09:59:36 +0000 Received: from phl-compute-06.internal (phl-compute-06.internal [10.202.2.46]) by mailfout.stl.internal (Postfix) with ESMTP id 385C01D00447; Tue, 4 Nov 2025 04:59:31 -0500 (EST) Received: from phl-mailfrontend-02 ([10.202.2.163]) by phl-compute-06.internal (MEProxy); Tue, 04 Nov 2025 04:59:31 -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=1762250371; x= 1762336771; bh=bJ8+aF98x0NZ7DXRPJed2cHmk+GII4SgJKkLOJuLhek=; b=q VX9Ekl6VT1pv4NPZaVN6FR9JNz3DFkNF2kgpGBpSRsnuVBuRe76au90NnMJ2v5TI HETfSYRZJfcuESHKiairKOFCO6XHobbZheuUXWAhmZLvkWzvpiW8ZCDux5BVI3o1 EbPjNPLrHibc44MgNza0hUryv6YFEMgpFlZvl7F2tg5NhusSxrIFs/IeYVOsoUmR aQQZofOzThggUTHvviOYfY8VBqz6/OR91dOSjiDrodk3sXj5BVH7/PpYgTluUpxV OKjWLYD1Gje1lgl7KabdjJEcfJAXfFy7abVDRwdqhdHVxNehU1SJzt2zNAVxadEN M1E6g/rWRKKSAg6I8Wmnw== 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=1762250371; x=1762336771; bh=b J8+aF98x0NZ7DXRPJed2cHmk+GII4SgJKkLOJuLhek=; b=egGkvkA+1KDZCGxoW ie3djWi+QxeSFQs1NkuPUbz+hQlndugOVcz/mfKIPFLRyOcFFXfTW0iO5fZvH13x Tg/JjjHOUHeHHMGeb8UPMNsHCfBaw/rx9K/hKhZOADy7TUSSMVMXCWWmxM2x3qqV bcNsUmJLeI0JIG4QDCUmczZ5rdt5fpXqQ4t/nlnnO73VmRmRShIav02doDiPUtEl HKf21wqPoO/ZNtvP+a5kUN0jrlyMUvHHq9LIvk4l8iD/jsWRAztx+KBnWeFLtxnI xZ19R8y1IKvmiCnR9jtT+sMvCIcK9BClocill6z4vvUvOPyhJspf2iyacXZ71p7/ G6iwA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeffedrtdeggddukedtjeduucetufdoteggodetrf dotffvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfurfetoffkrfgpnffqhgenuceu rghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujf gurhepfffhvfevuffkgggtugfgjgesthekredttddtjeenucfhrhhomheplmhlvhgrrhho ucfjvghrrhgvrhgruceorghlvhhhvghrrhgvsehkuhhrihhlvghmuhdruggvqeenucggtf frrghtthgvrhhnpedugffgfeffteduheeutedtiedvfefhudetudehudevgfetffduleel ueeiffdvieenucffohhmrghinheptghirhhruhhsqdgtihdrtghomhdpvghnthgvrhhprh hishgvuggsrdgtohhmnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghi lhhfrhhomheprghlvhhhvghrrhgvsehkuhhrihhlvghmuhdruggvpdhnsggprhgtphhtth hopeehpdhmohguvgepshhmthhpohhuthdprhgtphhtthhopegvuhhlvghrsegvuhhlvghr thhordgtohhmpdhrtghpthhtohepkhhurhhouggrrdhhrgihrghtohesfhhujhhithhsuh drtghomhdprhgtphhtthhopehlihdrvghvrghnrdgthhgrohesghhmrghilhdrtghomhdp rhgtphhtthhopehsmhhithhhphgsvddvhedtsehgmhgrihhlrdgtohhmpdhrtghpthhtoh epphhgshhqlhdqhhgrtghkvghrsheslhhishhtshdrphhoshhtghhrvghsqhhlrdhorhhg X-ME-Proxy: Feedback-ID: ie3de48e3:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 4 Nov 2025 04:59:30 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kurilemu.de; s=schmee; t=1762250367; bh=sbXej66f5uLaFxsxZnnivR8QbD10XZuxTj5xgBW9zsI=; h=Date:From:To:Cc:Subject:In-Reply-To:From; b=BqF+t0qg0xsqBdzLFs6pVRzWPQG9I3z4BORxL4lZ5INuHJWRQ2pz6rJ2jGjZgoNdF 6G8GUGBuA/1eWKw+kbEJWYHmEWBFLdDaYeTL8U84LMIT1NUE2CmEDwcMIQ/qGcopCm KrZo6/P99pRvEpeegFegjhzTf2nhu2ZH1Euioiq1CZJAT4QnyNylb6QHu7SwJ12+Ik mmuxGE/tn2xa5Lyyg6ueEkOy4Na+VwM3DbTXhAkxTQRfwzJ3lwON4yl6kiVC2+G7he JRLdGapPjv+33EA4h5j7ORXgYLqzYCFssDTnjR6eFGgiOO+AoTpGIzvdmx/2k6ki0b i+2XM1AvvOxvw== Received: by schmee.kurilemu.internal (Postfix, from userid 1000) id 57C6D76; Tue, 04 Nov 2025 11:59:27 +0200 (EET) Date: Tue, 4 Nov 2025 10:59:27 +0100 From: =?utf-8?Q?=C3=81lvaro?= Herrera To: Peter Smith Cc: Chao Li , Euler Taveira , "kuroda.hayato@fujitsu.com" , PostgreSQL Hackers Subject: Re: pg_createsubscriber --dry-run logging concerns Message-ID: <202511040909.o6seyffn6lmo@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-Nov-04, Peter Smith wrote: > On Sat, Nov 1, 2025 at 5:02 AM Álvaro Herrera wrote: > > I'm not opposed to 0001 (to master only), but I think the lines of > > dashes are a little excessively noisy. Are there other opinions on > > that? Note that vacuumlo also has it, with no dashes. > > It was intentionally "noisy" with dashes to make it impossible to > accidentally overlook dry-run mode in the logs. But if that's contrary > to the way Postgres does things I am fine if you want to remove the > dashes. Yeah, I don't know if it's The Postgres Way or just accidental, but I'd rather stay away from that kind of noise. Also, from a i18n point of view, the lines of dashes (as implemented here) would get in the message catalogs, which nobody will appreciate. Please do make the messages a single string rather than two separate strings though, perhaps with an embedded newline if more than one line of output is needed. > I took a quick look at your follow-up patches and below are some comments: Thanks for looking at them. I pushed 0002; I'm waiting on the CI run https://cirrus-ci.com/build/5618025065349120 to push 0001. -- Álvaro Herrera 48°01'N 7°57'E — https://www.EnterpriseDB.com/