Add another SQL/JSON error code

Peter Eisentraut <peter@eisentraut.org>

Commit: b681ca7635c4082c76f069d4d1dc2ca61975ca59
Author: Peter Eisentraut <peter@eisentraut.org>
Date: 2022-07-18T12:27:53Z
Releases: 15.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