Commit 834fce5
committed
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: 151 parent b2b6c1b commit 834fce5
File tree
2 files changed
+4
-3
lines changed- src
- backend/parser
- test/regress/expected
2 files changed
+4
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4587 | 4587 | | |
4588 | 4588 | | |
4589 | 4589 | | |
4590 | | - | |
4591 | | - | |
| 4590 | + | |
| 4591 | + | |
| 4592 | + | |
4592 | 4593 | | |
4593 | 4594 | | |
4594 | 4595 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
316 | 316 | | |
317 | 317 | | |
318 | 318 | | |
319 | | - | |
| 319 | + | |
320 | 320 | | |
321 | 321 | | |
322 | 322 | | |
| |||
0 commit comments