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 1w88Zp-000FKv-1G for pgsql-hackers@arkaria.postgresql.org; Thu, 02 Apr 2026 03:18:37 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1w88Zn-003Z8v-32 for pgsql-hackers@arkaria.postgresql.org; Thu, 02 Apr 2026 03:18:36 +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 1w88Zn-003Z8l-22 for pgsql-hackers@lists.postgresql.org; Thu, 02 Apr 2026 03:18:36 +0000 Received: from sss.pgh.pa.us ([68.162.161.243]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.98.2) (envelope-from ) id 1w88Zl-000000007KV-0Yg7 for pgsql-hackers@lists.postgresql.org; Thu, 02 Apr 2026 03:18:35 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 6323ITkW3183010; Wed, 1 Apr 2026 23:18:29 -0400 From: Tom Lane To: Chao Li cc: =?utf-8?Q?=C3=81lvaro_Herrera?= , PostgreSQL Hackers , Peter Smith Subject: Re: Redundant/mis-use of _(x) gettext macro? In-reply-to: References: <202604011144.jeo56tazdx6z@alvherre.pgsql> Comments: In-reply-to Chao Li message dated "Thu, 02 Apr 2026 11:11:04 +0800" MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-ID: <3183008.1775099909.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Wed, 01 Apr 2026 23:18:29 -0400 Message-ID: <3183009.1775099909@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Chao Li writes: > On Apr 2, 2026, at 10:55, Peter Smith wrote: >> On Wed, Apr 1, 2026 at 10:52=E2=80=AFPM =C3=81lvaro Herrera wrote: >>> No, you feel wrong -- this is necessary so that the translator has >>> control over the quoting style of a list of items. Not all translatio= ns >>> use double quoting. Some examples from different language files: > Yep, good to learn. Noted. This and related message style matters are covered in our docs, in https://www.postgresql.org/docs/devel/error-style-guide.html regards, tom lane