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 1w88EO-000F0y-0X for pgsql-hackers@arkaria.postgresql.org; Thu, 02 Apr 2026 02:56:28 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1w88EK-003QZB-16 for pgsql-hackers@arkaria.postgresql.org; Thu, 02 Apr 2026 02:56:24 +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 1w88EJ-003QZ3-34 for pgsql-hackers@lists.postgresql.org; Thu, 02 Apr 2026 02:56:24 +0000 Received: from mail-qv1-xf2a.google.com ([2607:f8b0:4864:20::f2a]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.98.2) (envelope-from ) id 1w88EI-0000000078d-0X4U for pgsql-hackers@lists.postgresql.org; Thu, 02 Apr 2026 02:56:23 +0000 Received: by mail-qv1-xf2a.google.com with SMTP id 6a1803df08f44-8a049a767c3so16931946d6.1 for ; Wed, 01 Apr 2026 19:56:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1775098581; cv=none; d=google.com; s=arc-20240605; b=kpkxdFp4jBCYFoHoJFGhx5rpUeqPnmrjyLZKWlb0M9ksFh4EK6qyncKQfqYLJEH3I4 heMct68qC8kfsI300CNcJb3f89oeSZlTnhI5t0DQ80YcoswTC4sngMrhrCAWWCM66eix zH4Ve9VmSbwlKa8/WpJwej8uT9s0Et/SXk8LaAKZ3DXkB8mkwZNprl2qaFXQ6EYyIfl3 CcQsUr6p3aEBAap/FlmoGbEjTSjUfldliqhRqQ0MIsXbecIW2zYLWBreOip6sxIU0ts0 pf7zuJiFcHPAr//49xVJDJEEzHS39u01/5B/98Yhzv/RI4o5Wl4hd0YVefmHl8bA1Vcy fcrw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=0tybkbv1SBV4Hw+NHlTTw3lZTr7TspZFOwGOUjBQq54=; fh=tvS4T4+oR2J2hxK5aNJGfORVVBBvqUJPnvm76ijROZw=; b=TYr7V6hizM6/0fxy1ZJY/jMGMo3TYmsstKgAVr+hWbtMFnvwTis2UjSu56CXzaC4os 37+6MT9VSDpN05JTXzyewi4lD1rgas8NaAfqharvE845JjUI3YJWXkqu38WUeUpiomCC mSZtPJnPVFbnPYqB2DH8HnFIsuDCa0xGuxMNnrGkimLE/DBpn1Gt9Zbz0YI/oWRFaps7 80r25R8pdl3+Evd87ZokXZiigskeChyjTPZ32rMftDdqumshLDeJLY6Jy1H4F4Cfv4Ls mu15kV34BO3kySg9PXLEIcUdl25e6NydT3Qr64bSwm0FbaNF+WIkDTelaYNSELTzmtlc KkNw==; darn=lists.postgresql.org ARC-Authentication-Results: i=1; mx.google.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1775098581; x=1775703381; darn=lists.postgresql.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=0tybkbv1SBV4Hw+NHlTTw3lZTr7TspZFOwGOUjBQq54=; b=R8xTvsb1BZqiBQMLMegJ8FNvnZvy0D+CYKHnjZi5e5zhwEKlbUb6DM0MTxn1z10dka 4x/eLaSoY5J4ERjl+slwDvYgHXl6kaeDWr5ohxgictmok2uMzEikq93qxbEdrcoRnLmb xHFBLd3u0KrZdp4cb/RcDFlJaJ1p7xB1Wyh//+YCFfdEvKEzLBb08A0PbFpisbuDaAeE cuQIOAZjILqnyAW9dL/GRLzZ0L3MhHIiD+ePWG5duZrsQ9+X71RxLOAQogNtXMS7FJDC KoZNdI8yLo+VgQ+j0dqqzdwDJfa726zr3QgdyqmoGpfTe8m9UU/SBONdw/+7HbcJ60m6 taQA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1775098581; x=1775703381; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=0tybkbv1SBV4Hw+NHlTTw3lZTr7TspZFOwGOUjBQq54=; b=A3zWN4KQaVF9+DOc6W0mNukKzPH6SVQWda2SL5rJpfsJGhMFJdCKL/aR2BmslRZnbg LpYK3Z3HXVNeip7flcSK8wMWzS9Ro3/iGHlkc/wkMs9LS6Yt3gIlfV2UfcvEb/myNqW8 S//1T0Eqqe/8qw0quAWE4VxOzzwlBo3FrRuFaEIhQG5Pb4ZCGOlogERDxQCBIpPuditK 0m4Xx8N6N9wXvE20x1Yu4IKEZe1G6V/av12GDTQ73GK3zm2gJY4t0p8ouZTLeYKNVz23 0boXMswZeFIKt+3c3UzxqKQJsfUkjRdhFqZXvPjLlGKXpxXwNVJEl+JxQywRE0L92ZP0 WKiw== X-Gm-Message-State: AOJu0YwaVzDKTD+dXo7fr+HXRHxdqSYPoxFNl6I285wGqPJKFd2Fzo1t 39iL53IT4T082unewel9tiB+yJY0JdTwMmwUzWTjt25xcZzOayezpnWV+LL5Se+RFMi8oQyrAx5 lRH9yunKvs3d2wHmFOg/2FRZ1VOz6aIHS2A== X-Gm-Gg: ATEYQzxXf1Vb1hXdopN8Ai9E1b8MWCvySUedFbgwcdsxNBZcmXKjblDLmX4y6q3wxrk HNiOEv8DqUpUZu6TMJtWzzIWjLNGTN06AkKYxlls69raF+XNpARYSFZAFZu6r7qXR3t2dkfiEEL z1w+tPOw2zcBBKFqP95XiGDm4UlLB126U9wh1MLi7a0NG7AuW9fH0lDUYsUWljFCWHEjCb8RDZz epA9r0megbsgSHujj+xRApMuoejR/lrlmo8iGoaJLLjIk6m0HkKJ+3r0F/LhjOifR+M7cAkF2Gc 0d4Rc5oX4KZb9dTIdkRw8zM1WexL/vXGCuZjg/lz3g== X-Received: by 2002:a05:6214:4109:b0:89c:4b84:8a78 with SMTP id 6a1803df08f44-8a5ebc0aa61mr10557126d6.14.1775098581243; Wed, 01 Apr 2026 19:56:21 -0700 (PDT) MIME-Version: 1.0 References: <202604011144.jeo56tazdx6z@alvherre.pgsql> In-Reply-To: <202604011144.jeo56tazdx6z@alvherre.pgsql> From: Peter Smith Date: Thu, 2 Apr 2026 13:55:55 +1100 X-Gm-Features: AQROBzCqZvZAuLhEBP_z9WmPLYviz4SIkfpmf6zj45ouxWyV-_XD61J5ltpfrDE Message-ID: Subject: Re: Redundant/mis-use of _(x) gettext macro? To: =?UTF-8?Q?=C3=81lvaro_Herrera?= Cc: PostgreSQL Hackers Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Wed, Apr 1, 2026 at 10:52=E2=80=AFPM =C3=81lvaro Herrera wrote: > > On 2026-Apr-01, Peter Smith wrote: > > > Hi. > > > > As originally reported [1] in the EXCEPT (TABLE ...) thread, I felt > > the _() gettext macro is mis-used when it contains nothing but a > > quoted format string. > > No, you feel wrong -- this is necessary so that the translator has > control over the quoting style of a list of items. Not all translations > use double quoting. Some examples from different language files: > > msgstr "unbekannte Komprimierungsoption: =C2=BB%s=C2=AB" > msgstr "opci=C3=B3n de compresi=C3=B3n no reconocida: =C2=AB%s=C2=BB" > msgstr "option de compression inconnue : =C2=AB %s =C2=BB" > msgstr "tidak dapat menentukan encoding untuk lokal =C2=AB %s =C2=BB : co= desetnya adalah =C2=AB %s =C2=BB" > OK. Thanks for your explanation. =3D=3D=3D=3D=3D=3D Kind Regards, Peter Smith. Fujitsu Australia