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 1wXiWX-003Qzt-06 for pgsql-hackers@arkaria.postgresql.org; Thu, 11 Jun 2026 16:44:57 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1wXiWU-00GWYa-1W for pgsql-hackers@arkaria.postgresql.org; Thu, 11 Jun 2026 16:44:54 +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 1wXiWT-00GWYS-1k for pgsql-hackers@lists.postgresql.org; Thu, 11 Jun 2026 16:44:54 +0000 Received: from fout-b3-smtp.messagingengine.com ([202.12.124.146]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.98.2) (envelope-from ) id 1wXiWQ-00000002a1I-24ir for pgsql-hackers@lists.postgresql.org; Thu, 11 Jun 2026 16:44:53 +0000 Received: from phl-compute-01.internal (phl-compute-01.internal [10.202.2.41]) by mailfout.stl.internal (Postfix) with ESMTP id 33FA41D000AB; Thu, 11 Jun 2026 12:44:48 -0400 (EDT) Received: from phl-frontend-03 ([10.202.2.162]) by phl-compute-01.internal (MEProxy); Thu, 11 Jun 2026 12:44:48 -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=1781196287; x= 1781282687; bh=G98rxhZXEQBzq/Ymy6BE+jOa28yBme09FC+32ERTaXc=; b=g EMEqKEMhIlihn+3Ae6dAM74YcwwhD+puG+AC86F6C4m/3j5pGtVfhGZz/oMUDz10 DFx6rdhZmnJIgXc5PufUIZyXZrI/7EUpa+3Xg8UeEVH9cwSH8BV1sK0DunSTITMi hg8bKuvuc2wZQw8BsgbkVb/2dwe/rKJML5d6OIikVWb3FfLYO9D/StdkzsTSuni9 JYWCNY+2y73kQW4/kJ7KjEwJ/A4euEXdfvV3DDdpDTXRUhfQphLsxfOkylXvOPoL ZIUQXGSXAEl+BuyfeM8kWMzYeOLYn5KPzOu64g/xuasLJW7sjfCx+ZImp5V2iRDy BdX1/1FbKClBA+L9kiIBg== 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=fm1; t=1781196287; x=1781282687; bh=G 98rxhZXEQBzq/Ymy6BE+jOa28yBme09FC+32ERTaXc=; b=Kc4qhp6nuD09H+J+p 8ofv4UkCXIvZGFJHrIVUw6iat94SGFLvhozTymth2BMdHkdSCr3V+Rt1iTey7ABn fqUqM8+uLcs3fCjEo6T5Ve7O52L/0XyjnniXRaSl4uIkW8Q1XPvEVX9fXyYiX4Ou l/wS+8ORiWMO1LAvpY5JDhTflI2afqPrMbquJu68UCWW0jQ8fNY2riNMsqSsQ23o QR7JXEf8ApLHi1Wffluga/25ApJsVs3OmZL0XHUH0Z2RFK4NjJwUw4633PSHYnIC Rwo8/r+mSGT3VqcfyPJkYSl8vHgxEtMByrlZVZTibiqsJkXq0hOm3Br8qEABb9We xATtQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: dmFkZTGQC2rDQCN+AC7A/lb4gW3G0yjWt8zZ7TQgKAbq87lxY3TGFdadYd5IEqneXSrdGP HGYEywKkIoLhooNJzSSmpT3B7SP+PI7MlysxxBMamFg5sIXsQuzc48vEeg5fkcgZPtVjz6 hekbLK4rrTKJ0gry9jAvFElKax8CJtwJvHB8H8sGRoMoFclHUosdS2FVQLRrTLOQjLHc9v fLf5LdzZ5PA+Pw5Sa6x25e/IFHmwo7n0IGZpIhoZfVZav2grSOQnBbVJ5XN/dV9aQvNCpP 2IZ9tdAJ8T13Yb0U+LcMnnOg8hWkgN//3iCG/v/m/zP5cbEBle1DRiMkF0MDHqhnb90sB9 +wsMWhIzb6OuNV4My+j8PZ+jOBDtUtycU9nB//qgEl2wtqNbpcrDuWYdvO0Zxx+fJQpT/L Dt/Fe/lJkpNYALpheoKPGSU4ueyXbrY7PIHEeS7ljxprEKnd0idvYzmN0ze2nSTLPsSkCs y71/thyeg6dteJEt6fTsTh5kJ5aEFmOaXKKWlylX1UHnoIbLq1aBmHR03/LXM06fPiRSrT I3lf6sPP8WUo2NU4pyMMxveFHPBOg0IekQ5ufZAbg/senSaruveQ/c5Gq2WRagRogxYzAF tuz9gXKvpTXz47Sv1n1ikfWFb1jPkBmDXyBWU3dU4v/MDczKl1x4zPvFpnWg X-ME-Proxy: Feedback-ID: ie3de48e3:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 11 Jun 2026 12:44:47 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kurilemu.de; s=schmee; t=1781196285; bh=gL4rXlmTb0kh/7lJHd9k+66sV19YNyjYwLha0nWrSFs=; h=Date:From:To:Cc:Subject:In-Reply-To:From; b=SlS4+O+StoC/4IVmC9T/nG/5VJzwtayitcdHdtht8dXdl81fX2iurGS5GQPcGmPPJ f53/nrgYqWypRh8ZR/tbiY0hMYYD4OIIRZne2QQ/yDhLt9Xoqht3tVAbeoJhkT+fV/ cQ1Un9l20rQvl2sZEkPsjhrzcK7nUBZNpsY8TUGiCiUYoHgE9P3L3M3Q/QqtQDV0oF vADZ8pvUsY7a+KfU+eNO7TlUzIGvXif92zmbqy7+Q62eaaDM3buLpfZgcM+Yx9BZTf oBDwtNwuDHW5GfClnmy0Cgcu4h+OrqGE46uxxfirL/d4IlqksJo5wIsptcNKFxeSMY cE2oU+5q01Quw== Received: by ida.kurilemu.internal (Postfix, from userid 1000) id 18D56B00662; Thu, 11 Jun 2026 18:44:45 +0200 (CEST) Date: Thu, 11 Jun 2026 18:44:45 +0200 From: =?utf-8?Q?=C3=81lvaro?= Herrera To: Peter Smith Cc: PostgreSQL Hackers Subject: Re: Redundant/mis-use of _(x) gettext macro? Message-ID: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="g4o4dywhsw3onu27" 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 --g4o4dywhsw3onu27 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit On 2026-Apr-24, Peter Smith wrote: > OK. Including the comma within a larger translated string seems like a > better idea. [...] > Also, why did you choose to implement `last` versus `first` logic? > e.g. How about this? In the end I decided to go with the flow and changed to use "first" logic rather than "last". I also figured that we should change the other two places you pointed out at the start of the thread to use the same coding style. Since this is mostly cosmetic, I don't feel compelled to back-patch it, and pushed only to master. Another place I noticed while looking this over is psql's describeOneTableDetails(), per the attached patch. It's essentially more of the same, but arguably different enough that I judged it warranted posting before pushing. -- Álvaro Herrera 48°01'N 7°57'E — https://www.EnterpriseDB.com/ --g4o4dywhsw3onu27 Content-Type: text/x-diff; charset=utf-8 Content-Disposition: attachment; filename=0001-fix-some-psql-strings.patch