Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit98719af

Browse files
committed
Fix typos and clarify a comment
Author: Daniel Gustafsson <daniel@yesql.se>
1 parent8d0ddcc commit98719af

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

‎src/backend/utils/adt/jsonpath_exec.c

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -470,9 +470,10 @@ jsonb_path_query_first(FunctionCallInfo fcinfo)
470470
* 'throwErrors' - whether we should throw suppressible errors
471471
* 'result' - list to store result items into
472472
*
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.
474475
*
475-
* Note, jsonb and jsonpath values should beavaliable and untoasted during
476+
* Note, jsonb and jsonpath values should beavailable and untoasted during
476477
* work because JsonPathItem, JsonbValue and result item could have pointers
477478
* into input values. If caller needs to just check if document matches
478479
* jsonpath, then it doesn't provide a result arg. In this case executor
@@ -1529,7 +1530,7 @@ executeBinaryArithmExpr(JsonPathExecContext *cxt, JsonPathItem *jsp,
15291530

15301531
/*
15311532
* 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.
15331534
*/
15341535
jper=executeItemOptUnwrapResult(cxt,&elem,jb, true,&lseq);
15351536
if (jperIsError(jper))

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp