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 1wR77o-0027ES-24 for pgsql-hackers@arkaria.postgresql.org; Sun, 24 May 2026 11:36:08 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1wR77m-00Gt7b-1k for pgsql-hackers@arkaria.postgresql.org; Sun, 24 May 2026 11:36:07 +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 1wR77m-00Gt7S-00 for pgsql-hackers@lists.postgresql.org; Sun, 24 May 2026 11:36:07 +0000 Received: from fout-b4-smtp.messagingengine.com ([202.12.124.147]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.98.2) (envelope-from ) id 1wR77k-00000001BXw-1EyM for pgsql-hackers@lists.postgresql.org; Sun, 24 May 2026 11:36:06 +0000 Received: from phl-compute-06.internal (phl-compute-06.internal [10.202.2.46]) by mailfout.stl.internal (Postfix) with ESMTP id EFA5F1D0004E; Sun, 24 May 2026 07:36:01 -0400 (EDT) Received: from phl-frontend-03 ([10.202.2.162]) by phl-compute-06.internal (MEProxy); Sun, 24 May 2026 07:36:02 -0400 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=fm2; t=1779622561; x= 1779708961; bh=klbuyVydFF2WGFf4VoUOr8HKWNlgsdJZ3SPTuK4Y6qQ=; b=l 6ITif5BVhm06KXMSKs4ruJnc2KrnmviAG5Y6uOeWkP6fYmB8dDPA4XIWT5QzUc8G upDVRaocX/EdpMTd4Q/wtTZVswRg7oQw4Zy69BS8D/CA+EmurRXOIwkLXs94MgnN loDX+QKaF8pRfLL5MT8ezJZk77TKsCv3OvtGlRj6wIMGJwsnQAU92Ik6WUNDundC u5Zt/VswYD/P/7zro9fK14fHBgRbr5+AylYjTghhwPu/t7eS52HvfT9ub+/EA1rV VePf0QvI8SALgRSsXCKY0MtU6vANkgVdkrxDWIYkQ0kt8trPYTdsB4GoqlQ27AwE GZk1/ucXzSwiSmoFGsBWg== 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=1779622561; x=1779708961; bh=k lbuyVydFF2WGFf4VoUOr8HKWNlgsdJZ3SPTuK4Y6qQ=; b=b5PQN4FFMck9GLoho thiAbGkHzWKUK8Da9NAq2Qaxe56Na849OzhryAueqO3/HK9Bq5x6IsCg3UKVZFjt mJPIC43p2dn63OGP29c/ly9wX4KptHn/XwYk72rfFV+xetbqprnj6hhvFsyWGZwz eJ/KznmFTnK8kuO2yMwjd4SsmyCm5zVkrGDP3tz2fgy+mjuOEQfrL6rwODyd/RsN f8T+BDnjKXdTYJPC/bbpfPI64dy0ltM69VnvJoTJnHYMVzJdj5ye8hDfgOZ2IFL9 OZSOqnQJfSVHe4VLUq1Lk2yTOdjtnuRQvpK4QN9W8SMHg+bcUmHFbZsnFFKxr4Tm hYxXA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefhedrtddtgdduheehkedvucetufdoteggodetrf dotffvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfurfetoffkrfgpnffqhgenuceu rghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujf gurhepfffhvfevuffkgggtugfgjgesthekredttddtjeenucfhrhhomheplmhlvhgrrhho ucfjvghrrhgvrhgruceorghlvhhhvghrrhgvsehkuhhrihhlvghmuhdruggvqeenucggtf frrghtthgvrhhnpeetuedvheffkeevgfeuheevteevkefggedttdeufeeuheduuddthfef fffhjeefffenucffohhmrghinhepvghnthgvrhhprhhishgvuggsrdgtohhmnecuvehluh hsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheprghlvhhhvghrrhgv sehkuhhrihhlvghmuhdruggvpdhnsggprhgtphhtthhopedvpdhmohguvgepshhmthhpoh huthdprhgtphhtthhopehjohhnrghthhgrnhdrrggsughivghlsehgmhgrihhlrdgtohhm pdhrtghpthhtohepphhgshhqlhdqhhgrtghkvghrsheslhhishhtshdrphhoshhtghhrvg hsqhhlrdhorhhg X-ME-Proxy: Feedback-ID: ie3de48e3:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sun, 24 May 2026 07:36:01 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kurilemu.de; s=schmee; t=1779622559; bh=o4dcpPuF72UhFKOYs1GaN5YmUNja7ccxzsvzbYUnwQY=; h=Date:From:To:Cc:Subject:In-Reply-To:From; b=xwbriDVMHeNL5A5m9CaiY0TGZRSj1ZBcFavrZyMcSIZUcUkEm6rrwPUoSWkQTuPuS 1B9THAYEX8tvH/fubPkxWgJqSD9tErRb7mbLQk/4ICuQErvmB4PS3bhlU/7GpJSEcL zXzVxsAUdDnEx+v7n9Q9Yd5gAciSVf+Cz/5lxOk9Qh60Tx6+ZrDVY+H1jCYTZfG+r0 Cq4mFktU4wsaLdCRxyEpcuPP39uGlJjPiKfytbaJejgexds57xQaOGzRvIB5JPizYP Snv1mKfNIy+1KzD2Fns6w2CNpT3H4VS69o6Bl1VhDcJvGHBTLkisR3RVLEOeIssz1/ EVZttdaXeSWsw== Received: by ida.kurilemu.internal (Postfix, from userid 1000) id E4AE6B042EE; Sun, 24 May 2026 04:35:59 -0700 (PDT) Date: Sun, 24 May 2026 13:35:59 +0200 From: =?utf-8?Q?=C3=81lvaro?= Herrera To: "Jonathan Gonzalez V." Cc: Pg Hackers Subject: Re: splitting pg_resetwal output strings Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <0357cb9cd9a362662d5d1eb2eb8ef4db1ba18f01.camel@gmail.com> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Hi, On 2026-May-24, Jonathan Gonzalez V. wrote: > On a second round a notice these two strings: > > + char *str = "First log segment after reset"; > + thislen = internal_wcswidth(_(str), strlen(_(str)), > encoding); > + if (thislen > maxlen) > > and [...] > Are never catch by the `make update-po` command, instead, the strings > are there in the `.po.new` file commented. > > Should we put them between `_()`? or is expected that it's being catch > by the second line with the `_()` ? Hmm, yeah, they need to be wrapped in gettext_noop() so that they are not immediately translated (because that will be done by the _() call in the other lines) but are picked up by msgmerge. (I think the second one you reference is "NextXID epoch" but it was victim of a copy-paste failure.) Thanks again for looking, -- Álvaro Herrera 48°01'N 7°57'E — https://www.EnterpriseDB.com/