@@ -470,9 +470,10 @@ jsonb_path_query_first(FunctionCallInfo fcinfo)
470
470
* 'throwErrors' - whether we should throw suppressible errors
471
471
* 'result' - list to store result items into
472
472
*
473
- * Returns an error happens during processing or NULL on no error.
473
+ * Returns an error if a recoverable error happens during processing, or NULL
474
+ * on no error.
474
475
*
475
- * Note, jsonb and jsonpath values should beavaliable and untoasted during
476
+ * Note, jsonb and jsonpath values should beavailable and untoasted during
476
477
* work because JsonPathItem, JsonbValue and result item could have pointers
477
478
* into input values. If caller needs to just check if document matches
478
479
* jsonpath, then it doesn't provide a result arg. In this case executor
@@ -1529,7 +1530,7 @@ executeBinaryArithmExpr(JsonPathExecContext *cxt, JsonPathItem *jsp,
1529
1530
1530
1531
/*
1531
1532
* XXX: By standard only operands of multiplicative expressions are
1532
- * unwrapped. We extend it to other binaryarithmetics expressions too.
1533
+ * unwrapped. We extend it to other binaryarithmetic expressions too.
1533
1534
*/
1534
1535
jper = executeItemOptUnwrapResult (cxt ,& elem ,jb , true,& lseq );
1535
1536
if (jperIsError (jper ))