pgsql: Improve error message with JSON_SERIALIZE() - Mailing list pgsql-committers

From Michael Paquier
Subject pgsql: Improve error message with JSON_SERIALIZE()
Date
Msg-id [email protected]
Whole thread Raw
List 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/[email protected]
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(-)


pgsql-committers by date:

Previous
From: Michael Paquier
Date:
Subject: pgsql: Improve two comments related to a boolean DefElem's value
Next
From: Michael Paquier
Date:
Subject: pgsql: Fix two portability issues with the tests of test_oat_hooks