Thread: pgsql: Add another SQL/JSON error code

pgsql: Add another SQL/JSON error code

From
Peter Eisentraut
Date:
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.

Branch
------
REL_15_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/b681ca7635c4082c76f069d4d1dc2ca61975ca59

Modified Files
--------------
src/backend/executor/execExprInterp.c | 8 +-------
src/backend/utils/errcodes.txt        | 1 +
2 files changed, 2 insertions(+), 7 deletions(-)