pgsql: Add another SQL/JSON error code

2022-07-18 Thread Peter Eisentraut
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

pgsql: Add another SQL/JSON error code

2022-07-18 Thread Peter Eisentraut
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.pos