Add another SQL/JSON error code
authorPeter Eisentraut <peter@eisentraut.org>
Mon, 18 Jul 2022 12:26:43 +0000 (14:26 +0200)
committerPeter Eisentraut <peter@eisentraut.org>
Mon, 18 Jul 2022 12:26:43 +0000 (14:26 +0200)
commit976b06c6630cbf09bf933a006b5e662753e7c0be
treef7bbb66f6a117149bd4e8e8f1804d859e96538eb
parentf58d7073b7750d58b5d53232f0d6a967f902b78f
Add another SQL/JSON error code

A code comment said that the standard does not define a number for
ERRCODE_SQL_JSON_ITEM_CANNOT_BE_CAST_TO_TARGET_TYPE, but this was
fixed in a later draft version of the standard, so use that number
now.
src/backend/executor/execExprInterp.c
src/backend/utils/errcodes.txt