Add another SQL/JSON error code

Peter Eisentraut <peter@eisentraut.org>

Commit: 976b06c6630cbf09bf933a006b5e662753e7c0be
Author: Peter Eisentraut <peter@eisentraut.org>
Date: 2022-07-18T12:26:43Z
Releases: 16.0
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.

Files

PathChange+/−
src/backend/executor/execExprInterp.c modified +1 −7
src/backend/utils/errcodes.txt modified +1 −0