aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/xml.c
diff options
context:
space:
mode:
authorAmit Langote <amitlan@postgresql.org>2024-07-26 16:00:16 +0900
committerAmit Langote <amitlan@postgresql.org>2024-07-26 16:36:06 +0900
commitd1dc4ae5608d9c0e83d5b5d32de238a7ac3d9a1a (patch)
tree6e3493d3a9fcbaf94e6a45ca28ed56c3a32e39db /src/backend/utils/adt/xml.c
parent79fa052e78804667739bee3f3e220f0ef6783b2c (diff)
downloadpostgresql-d1dc4ae5608d9c0e83d5b5d32de238a7ac3d9a1a.tar.gz
postgresql-d1dc4ae5608d9c0e83d5b5d32de238a7ac3d9a1a.zip
SQL/JSON: Improve error-handling of JsonBehavior expressions
Instead of returning a NULL when the JsonBehavior expression value could not be coerced to the RETURNING type, throw the error message informing the user that it is the JsonBehavior expression that caused the error with the actual coercion error message shown in its DETAIL line. Discussion: https://postgr.es/m/CACJufxEo4sUjKCYtda0_qt9tazqqKPmF1cqhW9KBOUeJFqQd2g@mail.gmail.com Backpatch-through: 17
Diffstat (limited to 'src/backend/utils/adt/xml.c')
0 files changed, 0 insertions, 0 deletions