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
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/976b06c6630cbf09bf933a006b5e662753e7c0be

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