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 1wXoLe-003UbG-2g for pgsql-hackers@arkaria.postgresql.org; Thu, 11 Jun 2026 22:58:06 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1wXoLc-00HBzn-29 for pgsql-hackers@arkaria.postgresql.org; Thu, 11 Jun 2026 22:58:04 +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 1wXoLc-00HBzf-1D for pgsql-hackers@lists.postgresql.org; Thu, 11 Jun 2026 22:58:04 +0000 Received: from mail-qk1-x731.google.com ([2607:f8b0:4864:20::731]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.98.2) (envelope-from ) id 1wXoLZ-00000002crV-40ki for pgsql-hackers@lists.postgresql.org; Thu, 11 Jun 2026 22:58:03 +0000 Received: by mail-qk1-x731.google.com with SMTP id af79cd13be357-9156b74006aso28935685a.0 for ; Thu, 11 Jun 2026 15:58:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1781218680; cv=none; d=google.com; s=arc-20240605; b=dC18D4AeJmtrmkrUPrknAnK3siuy3EfbFHE97G/y6hR6GbMC8HGNZYqtuCG6Vm4q0p WgBhQdSnEL477J18pUKqw9mWUhealMvIle3XjgqFD60iynsq7Es40sQDArevpjtiLOaL SPw7xrVZ4SF+Zjar0HOo4lKsbmUPTQtky4gouF4VX7cKVhDYBgLr3tuVMYUxim6RhKns p2gxlFovs1xXOEVSo5FiJj4VqfDh615ZbIi3SYcIvqd9osa5XbDuW79kaoOgLz4ZQhU0 pdVF//06lhNSEDPBA9DYYV0oTK8poCbYbFIdzuNXyE2v6HCYqy3A9kVnC2DqaYwNbeR0 mEWg== 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=hI7+Q8m5twQJtSxyW6JYJWW1D7FjIY/2HuuShwmelYg=; fh=tvS4T4+oR2J2hxK5aNJGfORVVBBvqUJPnvm76ijROZw=; b=SvR0AGSIDPNjjl7GJV8DGxmyq7qecFOqfa3fOqQNdEBsbBschZE5kgRL6e1k8V7kmr O/dWfxISrb1dq1CsmbCGgJob1Bxqlhek5mXOqKtaum9Lw2Dm1XKJ4zk5+BZs2fHjbhPq FI44ftrY4fY8Sktgyf15jUXExojnJZpZVdvNCtJnTgOku3uPdruJfQXUlGqV9rprFiHk VV5qZKWD1SpPR0/kcabeQ6qBASaNgbGP6WkkzeTWRUVUoecnfj1ZPPfSz41zZfJ9wMGu 8WwZ3hqInzBpHMv6IuCgjy7xGR8DhhHCpjGe4prdUHCEBdFywDGKi7KlBzM9T94sCCSg F8/g==; 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=1781218680; x=1781823480; 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=hI7+Q8m5twQJtSxyW6JYJWW1D7FjIY/2HuuShwmelYg=; b=TQzw/MDYAK2onn5MvQDDWkbUAxBjxKP1uAfzm++5v3VEApGvbQi0v8LcixsODskn9X 0CQupRhPNigVTZQ2UuwWf3mL4MlG/kXP7/ugBgEDX1xHWHfMVexrFKdn/egRt8rE8wgw 57GEr3qJt6H5b9xmOGUA05Mwyo7gn2d5JhgSC6TEvUFyzJCqXlVt+m8bzHe2EFJSMgSk ENhceGF93mBvA7jUJNf5ALSirRUM6RWXgUI5AgIO9DzgHx7ZthgHYD4e+tUzahFBJWom VWaaPOxRKVzHYUsrTEp/Ocvd5Phop9317vE+vaIAs/ZZZ9cZLKU0YXK4GU5fK1aYzvtD 7OVg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1781218680; x=1781823480; 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=hI7+Q8m5twQJtSxyW6JYJWW1D7FjIY/2HuuShwmelYg=; b=HwWwI4Cs8xnDG1B+iwHkMRSS4c4s/OD6rVlCj+zWNaMWks0eAx4fL4wWVMjAMj6FBd v3JTyA+NIk9TbuJseabnuXPWCiS+ycPuja3fX+zEGz40a9v6oNrwUd9SBKKkuGVsmjcW YAW4MHOlMC1I2UiEm7lhJUni3I0tNkSdY4J6R2Q1Bfr4SYpNkizwvnTTyGat84sDPexE +Afi69DuwyfeAdO8vyakApebrA46GIMZt9Xz2vtKeEFpF2p9uHrT2J6csIfIXh3GHPxd 1hGxZ+KMUFwlHD4SnhCTAly2eyAArtdjgsEk7+fRWPtcH7PZERZKxQBFBJgXRDRAia83 /bcQ== X-Gm-Message-State: AOJu0Yx7NDp48qU8sIZgj7kLb/oIsfQZVflvvNnE9pW6Zj/9HT3O54Ig p07sxRShzK3ZtG+K9//6ERy641J/6lJAinz1Ai76cpdIVhKm9H3W1oI6PXVjzl2+FvoQGZ+q0T8 +JPJ1j4bfoggn9J1bNrGtbtryts9AkHbDkg== X-Gm-Gg: Acq92OHv8Lmzd50zP+mEYfzNOUl4qwSfQeb0ECH7b7wOijmWdX65CjKOUifuoZInlhK HpJC9gIboPl5vtZu+NtI/ETG6pzfRhMs/SKUsT/PYP4piJVBGIsZF0ozTsWkOI0+L1/G3fGJk/s XeVERZtzF3w4gDjECEpF7a4yVxGRl+bq9EPQjhxB0+wXiKL9rSyDqJoVlII9z/4KWIM3H+lXi9W qY5BD/q5e4aQ9sv08kiO9afBs01Oppvj4w5grZiIYzK7eBrBtzFQK1Qvi/NBRfrfZ01BAQvuVzT vazUVFg= X-Received: by 2002:a05:622a:d15:b0:517:9157:ecf0 with SMTP id d75a77b69052e-517fe5ba18emr2168951cf.29.1781218679583; Thu, 11 Jun 2026 15:57:59 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Peter Smith Date: Fri, 12 Jun 2026 08:57:33 +1000 X-Gm-Features: AVVi8CefVeedTDHOFs7xPLG_BpDFmU5A31TvjI3T8-HXwtInAPXgiuJAJ4SXHg4 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 Fri, Jun 12, 2026 at 2:44=E2=80=AFAM =C3=81lvaro Herrera wrote: > > 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. > Thanks for pushing! > 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. > This additional patch LGTM. =3D=3D=3D=3D=3D=3D Kind Regards, Peter Smith. Fujitsu Australia