pgsql: Improve error message with JSON_SERIALIZE()

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Improve error message with JSON_SERIALIZE()
Date: 2022-07-11 02:32:38
Message-ID: E1oAjDx-002Cgu-Gq@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Improve error message with JSON_SERIALIZE()

The error message introduced in 3c633f3 can share the same format string
with an existing message used for JSON(), reducing the translation
effort.

Author: Kyotaro Horiguchi
Discussion: https://postgr.es/m/20220708.154135.2123613118233840495.horikyota.ntt@gmail.com
Backpatch-through: 15

Branch
------
REL_15_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/834fce52f941cd228beca2067dca82f6e33a4d98

Modified Files
--------------
src/backend/parser/parse_expr.c | 5 +++--
src/test/regress/expected/sqljson.out | 2 +-
2 files changed, 4 insertions(+), 3 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Michael Paquier 2022-07-11 03:48:24 pgsql: Fix two portability issues with the tests of test_oat_hooks
Previous Message Michael Paquier 2022-07-11 02:07:51 pgsql: Improve two comments related to a boolean DefElem's value