pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael Paquier <michael@paquier.xyz>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Improve error message with JSON_SERIALIZE()
Date: Mon, 11 Jul 2022 02:32:38 +0000
Message-ID: <E1oAjDx-002Cgu-Gq@gemulon.postgresql.org> (raw)

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(-)



view thread (2+ messages)  latest in thread

Message-ID: <E1oAjDx-002Cgu-Gq@gemulon.postgresql.org>
Permalink:  ../E1oAjDx-002Cgu-Gq@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1oAjDx-002Cgu-Gq@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: michael@paquier.xyz
  Subject: Re: pgsql: Improve error message with JSON_SERIALIZE()
  In-Reply-To: <E1oAjDx-002Cgu-Gq@gemulon.postgresql.org>
  References: <E1oAjDx-002Cgu-Gq@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox