]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Improve error message with JSON_SERIALIZE()
authorMichael Paquier <michael@paquier.xyz>
Mon, 11 Jul 2022 02:20:52 +0000 (11:20 +0900)
committerMichael Paquier <michael@paquier.xyz>
Mon, 11 Jul 2022 02:20:52 +0000 (11:20 +0900)
commit834fce52f941cd228beca2067dca82f6e33a4d98
treeb814456a818a9c46710c922cdf09cd3a63769951
parentb2b6c1be0569548893a80f15c74084243fb8d8a1
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
src/backend/parser/parse_expr.c
src/test/regress/expected/sqljson.out