Add another SQL/JSON error code
authorPeter Eisentraut <[email protected]>
Mon, 18 Jul 2022 12:26:43 +0000 (14:26 +0200)
committerPeter Eisentraut <[email protected]>
Mon, 18 Jul 2022 12:27:53 +0000 (14:27 +0200)
commitb681ca7635c4082c76f069d4d1dc2ca61975ca59
treeee90a16f1ca414abfa0baefbb09663ed380fe55a
parent96dbbf828c5f188e9fec0b706ad33c20900f918d
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