Improve error reporting in jsonpath

Alexander Korotkov <akorotkov@postgresql.org>

Commit: 29ceacc3f93720d3ebb7e7e999f8b7fe9622389c
Author: Alexander Korotkov <akorotkov@postgresql.org>
Date: 2019-05-07T22:02:59Z
Releases: 12.0
Improve error reporting in jsonpath

This commit contains multiple improvements to error reporting in jsonpath
including but not limited to getting rid of following things:

 * definition of error messages in macros,
 * errdetail() when valueable information could fit to errmsg(),
 * word "singleton" which is not properly explained anywhere,
 * line breaks in error messages.

Reported-by: Tom Lane
Discussion: https://postgr.es/m/14890.1555523005%40sss.pgh.pa.us
Author: Alexander Korotkov
Reviewed-by: Tom Lane

Files

Discussion

  • jsonpath 198 messages · 2018-01-07 → 2019-05-17