Re: Redundant/mis-use of _(x) gettext macro?
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Chao Li <li.evan.chao@gmail.com>
Cc: Álvaro Herrera <alvherre@kurilemu.de>, PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>, Peter Smith <smithpb2250@gmail.com>
Date: 2026-04-02T03:18:29Z
Lists: pgsql-hackers
Chao Li <li.evan.chao@gmail.com> writes: > On Apr 2, 2026, at 10:55, Peter Smith <smithpb2250@gmail.com> wrote: >> On Wed, Apr 1, 2026 at 10:52 PM Álvaro Herrera <alvherre@kurilemu.de> 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 translations >>> 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
Commits
Same data as JSON:
GET /api/v1/messages/:b64id/commits
the thread's linked commits as JSON, with link sources.
API reference →
-
Fix translatable string construction in psql
- 5459223edb1d 19 (unreleased) landed
-
Fix translatable string construction
- 3692a622d3fd 19 (unreleased) landed