pgsql: Refactor some SQL/JSON error messages

From: Álvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Refactor some SQL/JSON error messages
Date: 2024-12-14 11:56:02
Message-ID: E1tMQkc-002gC6-AP@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Refactor some SQL/JSON error messages

Turn type names into "%s" specifiers to 1) avoid getting them translated
and 2) reduce the total number of messages.

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/62b7a9a7784eb8b3871368726fc3b8df17d87f32

Modified Files
--------------
src/backend/utils/adt/jsonpath_exec.c | 41 ++++++++++++++++++-----------------
1 file changed, 21 insertions(+), 20 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2024-12-14 21:07:43 pgsql: contrib/earthdistance: Use SQL-standard function bodies.
Previous Message Thomas Munro 2024-12-14 11:36:48 pgsql: Fix warnings about declaration of environ on MinGW.